Commit 77b8172b authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Fixing wrong function name for getter

parent 3adc1481
......@@ -427,7 +427,7 @@ class MailTemplateService {
/** @var Mail $mailToSend */
$mailToSend = $mailRepository->findOneByUid($uid);
if ($mailToSend && !$mailToSend->isBlacklisted()) {
if ($mailToSend && !$mailToSend->getBlacklisted()) {
$this->mailMessage->setBody($mailToSend->getMailBody(), 'text/html');
$this->mailMessage->setTo(trim($mailToSend->getToAddress()));
$this->mailMessage->setFrom($mailToSend->getFromAddress(), $mailToSend->getFromName());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment