瀏覽代碼

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)

Thijs Kinkhorst 22 年之前
父節點
當前提交
a9454a584e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/compose.php

+ 0 - 1
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) {