Skip to content
Snippets Groups Projects
Commit efa7311e authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix incorrect email information lookup

parent 29a17999
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class Mailer {
if(!$e->allowSpoofing() || !$email)
$email = $e;
} elseif(!$email && $cfg && ($e=$cfg->getDefaultEmail())) {
if($e->isSMTPEnabled() && ($info=$email->getSMTPInfo()))
if($e->isSMTPEnabled() && ($info=$e->getSMTPInfo()))
$this->smtp = $info;
$email = $e;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment