X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FCore%2FThemes.php;h=dee905485fdc24c5576ba2fd2a4f8846531fe6d4;hb=95d9cb655144abe69ca3daef970f446d59cc85a2;hp=9156eb55588d081372a7ebf1b35859b9b113001f;hpb=5e884aa11e68bdba189d729d6cf6c17abf9956df;p=civicrm-core.git diff --git a/Civi/Core/Themes.php b/Civi/Core/Themes.php index 9156eb5558..dee905485f 100644 --- a/Civi/Core/Themes.php +++ b/Civi/Core/Themes.php @@ -135,7 +135,7 @@ class Themes { public function getAvailable() { $result = []; foreach ($this->getAll() as $key => $theme) { - if ($key{0} !== '_') { + if ($key[0] !== '_') { $result[$key] = $theme['title']; } }