Add proper RFC 3461 DSN functionality (previously we relied only on the Return-Receip...
[squirrelmail.git] / functions / mailbox_display.php
index 6eab9703dc14b6981a73e9d83c386ed74b6a907e..0e7bb6cf6e90fa7748d85a8662c94a99d5acac4f 100644 (file)
@@ -6,7 +6,7 @@
  * This contains functions that display mailbox information, such as the
  * table row that has sender, date, subject, etc...
  *
- * @copyright 1999-2021 The SquirrelMail Project Team
+ * @copyright 1999-2022 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -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;