From: lkehresman Date: Tue, 8 Feb 2000 12:28:11 +0000 (+0000) Subject: Fixed a bug in displaying email addresses in the message list. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=6f32de6c2b9338c0223272ea231bb91e0dd6e3e2;ds=sidebyside Fixed a bug in displaying email addresses in the message list. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@197 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mailbox.php b/functions/mailbox.php index f5aba2f1..b07e2543 100644 --- a/functions/mailbox.php +++ b/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)) {