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 6eab9703dc14b6981a73e9d83c386ed74b6a907e..5536d3ab2e04499995340003ba1a6ebc948a2fda 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;