Stop using curly braces
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Feb 2021 07:25:55 +0000 (07:25 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Feb 2021 07:25:55 +0000 (07:25 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14893 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 6eab970..5536d3a 100644 (file)
@@ -733,7 +733,7 @@ function highlightMessage($sCol, $sVal, $highlight_list, &$aFormat) {
     }
     if ($hlt_color) {
         // Bug in highlight color???
-        if ($hlt_color{0} != '#') {
+        if ($hlt_color[0] != '#') {
             $hlt_color = '#'. $hlt_color;
         }
         $aFormat['row']['color'] = $hlt_color;