diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-24 09:35:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 09:35:20 +0200 |
commit | 59d8c92b647118d2f883f74ea1674684b8c515aa (patch) | |
tree | 2e8ca870480fc677a3584f4b9e0f48ec09e402f5 /apps | |
parent | 3a3bcf43ca8a06ffdfabf43beea5f73df84959ab (diff) | |
parent | 1b0f30b1ab878699d54afc20cb1a01c6a6827421 (diff) | |
download | nextcloud-server-59d8c92b647118d2f883f74ea1674684b8c515aa.tar.gz nextcloud-server-59d8c92b647118d2f883f74ea1674684b8c515aa.zip |
Merge pull request #16493 from nextcloud/enh/remove-curly-braces
The array and string offset access syntax using curly braces is depreā¦
Diffstat (limited to 'apps')
-rw-r--r-- | apps/theming/lib/Util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php index 75abea142c8..dbcabfb8652 100644 --- a/apps/theming/lib/Util.php +++ b/apps/theming/lib/Util.php @@ -111,7 +111,7 @@ class Util { public function hexToRGB($color) { $hex = preg_replace("/[^0-9A-Fa-f]/", '', $color); if (strlen($hex) === 3) { - $hex = $hex{0} . $hex{0} . $hex{1} . $hex{1} . $hex{2} . $hex{2}; + $hex = $hex[0] . $hex[0] . $hex[1] . $hex[1] . $hex[2] . $hex[2]; } if (strlen($hex) !== 6) { return 0; |