Fix recupero informazioni relative all' account smtp

This commit is contained in:
Luca 2018-10-25 11:30:21 +02:00
parent 9671499654
commit 095210b730
1 changed files with 2 additions and 2 deletions

View File

@ -43,11 +43,11 @@ class Mail extends PHPMailer\PHPMailer\PHPMailer
$result = MailAccount::get($account); $result = MailAccount::get($account);
if (empty($return)) { /*if (empty($return)) {
$result = $accounts->first(function ($item) { $result = $accounts->first(function ($item) {
return !empty($item->predefined); return !empty($item->predefined);
}); });
} }*/
return $result; return $result;
} }