From: stekkel Date: Fri, 15 Apr 2005 13:38:34 +0000 (+0000) Subject: Fixed wrong var usage. This solves the errors Thijs saw in his previous X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=6547ab43ecffba6fcf7d6f6be3acbfd00a7396c4 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 --- 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 {