When $edit_identity is false and $edit_name is true, the if evaluates as
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 8 Jun 2003 15:58:07 +0000 (15:58 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 8 Jun 2003 15:58:07 +0000 (15:58 +0000)
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

src/compose.php

index f950785f116e087588b5c52d67367a4922a6eee1..ac9ee3fb3c0591f961f06113cb8f10357c5277d8 100644 (file)
@@ -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) {