소스 검색

Fixed wrong var usage. This solves the errors Thijs saw in his previous
commit.

stekkel 20 년 전
부모
커밋
512e1e77b1
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      templates/default/message_list.tpl

+ 1 - 3
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 = '<label for="msg[' . $i . ']">';
             $sLabelEnd = '</label>';
         } else {