Merge pull request #1050 from headzoo/patch-1

Undefined property: Notification::$mail
This commit is contained in:
Sebastian Grewe 2013-12-20 02:15:57 -08:00
commit d3e8bec679

View File

@ -155,7 +155,7 @@ class Notification extends Mail {
if ($stmt->close() && $this->sendMail('notifications/' . $strType, $aMailData) && $this->addNotification($account_id, $strType, $aMailData)) {
return true;
} else {
$this->setErrorMessage('SendMail call failed: ' . $this->mail->getError());
$this->setErrorMessage('SendMail call failed: ' . $this->getError());
return false;
}
} else {