Merge pull request #17480 from tunbola/email-template-perms
[civicrm-core.git] / Civi / Core / Themes.php
index 9156eb55588d081372a7ebf1b35859b9b113001f..dee905485fdc24c5576ba2fd2a4f8846531fe6d4 100644 (file)
@@ -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'];
       }
     }