Check for flags column
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 16 Apr 2005 11:13:41 +0000 (11:13 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 16 Apr 2005 11:13:41 +0000 (11:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9312 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/message_list.tpl

index 31ebc55..6b05b25 100644 (file)
@@ -391,8 +391,7 @@ else
 <?php
     // flag style mumbo jumbo
     $sPre = $sEnd = '';
-    // make sure that flags column is used by end user
-    if (isset($aFlags)) {
+    if (isset($aColumns[SQM_COL_FLAGS])) {
         if (!in_array('seen',$aFlags)) {
             $sPre = '<b>'; $sEnd = '</b>';
         }