瀏覽代碼

Fixed a bug in displaying email addresses in the message list.

Luke Ehresman 25 年之前
父節點
當前提交
021a919842
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/mailbox.php

+ 1 - 1
functions/mailbox.php

@@ -181,7 +181,7 @@
          $emailAddr = ereg_replace("--EMAILEND", "", $emailAddr);
          $from = $emailAddr;
       }
-      else if (strlen($name) > 0) {
+      else if (strlen(trim($name)) > 0) {
          $from = $name;
       }
       else if (strlen($emailAddr > 0)) {