Stop using curly braces
[squirrelmail.git] / 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;