From: indiri69 Date: Tue, 31 Jan 2006 19:27:10 +0000 (+0000) Subject: Make sure the message was actually seen, not just that 'seen' is in aFlags X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1be82af6cabeb811543fae51e6ccadd12efbd879;p=squirrelmail.git Make sure the message was actually seen, not just that 'seen' is in aFlags git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10620 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index 62808fff..2d862e0e 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -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 = ''; $sEnd = ''; } if (in_array('deleted',$aFlags) && $aFlags['deleted']) {