소스 검색

may have fixed the blank subject problem

Luke Ehresman 25 년 전
부모
커밋
3151a897b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
functions/imap_messages.php

@@ -62,7 +62,7 @@
             $date = substr($read[$i], 5);
             $date = substr($read[$i], 5);
          } else if (eregi ("^subject:", $read[$i])) {
          } else if (eregi ("^subject:", $read[$i])) {
             $subject = htmlspecialchars(eregi_replace ("^subject: ", "", $read[$i]));
             $subject = htmlspecialchars(eregi_replace ("^subject: ", "", $read[$i]));
-            if (strlen(Chop($subject)) == 0)
+            if (trim($subject) == "")
                $subject = _("(no subject)");
                $subject = _("(no subject)");
          }
          }
 		}	
 		}