From 6547ab43ecffba6fcf7d6f6be3acbfd00a7396c4 Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 15 Apr 2005 13:38:34 +0000 Subject: [PATCH] Fixed wrong var usage. This solves the errors Thijs saw in his previous commit. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9299 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/message_list.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index cb04f12a..e2fbfe78 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -286,7 +286,6 @@ else /** * Check usage of images for attachments, flags and priority - * Aaaaaaaaaah fix me. DO NOT USE the string "None" if you mean FALSE, no icon theme */ $bIcons = ($use_icons && $icon_theme) ? true : false; @@ -408,8 +407,7 @@ else * we have to do some php coding to display the columns in the right order */ foreach ($aOrder as $iCol) { - // FIXME: first parameter cannot be an array in PHP < 4.2 - if (in_array($index_order_part, $show_label_columns)) { + if (in_array($iCol, $show_label_columns)) { $sLabelStart = ''; } else { -- 2.25.1