소스 검색

if NIL is description, doesn't display it

Luke Ehresman 25 년 전
부모
커밋
75a85c690a
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      functions/mailbox_display.php
  2. 1 1
      functions/mime.php

+ 1 - 1
functions/mailbox_display.php

@@ -54,7 +54,7 @@
       if ($msg["FLAG_ANSWERED"] == true) echo "   <td bgcolor=$hlt_color width=1%><b><small>A</small></b></td>\n";
       if ($msg["FLAG_ANSWERED"] == true) echo "   <td bgcolor=$hlt_color width=1%><b><small>A</small></b></td>\n";
       elseif (ereg("(1|2)",substr($msg["PRIORITY"],0,1))) echo "   <td bgcolor=$hlt_color width=1%><b><small><font color=$color[1]>!</font></small></b></td>\n";
       elseif (ereg("(1|2)",substr($msg["PRIORITY"],0,1))) echo "   <td bgcolor=$hlt_color width=1%><b><small><font color=$color[1]>!</font></small></b></td>\n";
       else    echo "   <td bgcolor=$hlt_color width=1%>&nbsp;</td>\n";
       else    echo "   <td bgcolor=$hlt_color width=1%>&nbsp;</td>\n";
-      echo "   <td bgcolor=$hlt_color>$bold<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0\">$flag$subject$flag_end</a>$bold_end</td>\n";
+      echo "   <td bgcolor=$hlt_color>$bold<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0$search_stuff\">$flag$subject$flag_end</a>$bold_end</td>\n";
 
 
       echo "</tr>\n";
       echo "</tr>\n";
    }
    }

+ 1 - 1
functions/mime.php

@@ -161,7 +161,7 @@
          $structure = trim($structure);
          $structure = trim($structure);
          $char = substr($structure, 0, 1);
          $char = substr($structure, 0, 1);
 
 
-         if (substr($structure, 0, 3) == "nil") {
+         if (strtolower(substr($structure, 0, 3)) == "nil") {
             $text = "";
             $text = "";
             $structure = substr($structure, 3);
             $structure = substr($structure, 3);
          } else if ($char == "\"") {
          } else if ($char == "\"") {