From 1be82af6cabeb811543fae51e6ccadd12efbd879 Mon Sep 17 00:00:00 2001 From: indiri69 Date: Tue, 31 Jan 2006 19:27:10 +0000 Subject: [PATCH] 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 --- templates/default/message_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) { -- 2.25.1