Преглед на файлове

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) {
     if (!$from_mail) {
        $from_mail = "$popuser@$domain";
        $from_mail = "$popuser@$domain";
-       $full_name = '';
     }
     }
     $rfc822_header->from = $rfc822_header->parseAddress($from_mail,true);
     $rfc822_header->from = $rfc822_header->parseAddress($from_mail,true);
     if ($full_name) {
     if ($full_name) {