Selaa lähdekoodia

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

Luke Ehresman 25 vuotta sitten
vanhempi
commit
021a919842
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)) {