From: kink Date: Sun, 8 Jun 2003 15:58:07 +0000 (+0000) Subject: When $edit_identity is false and $edit_name is true, the if evaluates as X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=73591a9ee2814dd2687fe232934d911d0660d878;p=squirrelmail.git When $edit_identity is false and $edit_name is true, the if evaluates as true but the from_name shouldn't be reset. The $from_name='' isn't neccessary. (#750728) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4979 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index f950785f..ac9ee3fb 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1374,7 +1374,6 @@ function deliverMessage($composeMessage, $draft=false) { } if (!$from_mail) { $from_mail = "$popuser@$domain"; - $full_name = ''; } $rfc822_header->from = $rfc822_header->parseAddress($from_mail,true); if ($full_name) {