Make sure the message was actually seen, not just that 'seen' is in aFlags
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 31 Jan 2006 19:27:10 +0000 (19:27 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 31 Jan 2006 19:27:10 +0000 (19:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10620 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/message_list.tpl

index 62808fffde4b0b25656fc760635ca90678404676..2d862e0e3524fd66ff098538f3aea845e3b1b750 100644 (file)
@@ -441,7 +441,7 @@ if ($class != 'even' && $class != 'odd')
     // flag style mumbo jumbo
     $sPre = $sEnd = '';
     if (isset($aColumns[SQM_COL_FLAGS])) {
-        if (!in_array('seen',$aFlags)) {
+        if (!in_array('seen',$aFlags) || !$aFlags['seen']) {
             $sPre = '<span class="unread">'; $sEnd = '</span>';
         }
         if (in_array('deleted',$aFlags) && $aFlags['deleted']) {