Commit 83cf3c23 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] fix broken blacklist check

parent 5b499f96
......@@ -344,7 +344,7 @@ class MailTemplateService {
$isTemplateBlacklisted = self::isTemplateBlacklisted(
$this->extensionKey, $this->templateName, $siteRootId
);
if ($this->ignoreMailQueue && $isTemplateBlacklisted) {
if ($this->ignoreMailQueue && !$isTemplateBlacklisted) {
$this->mailMessage->setBody($emailBody, 'text/html');
$this->mailMessage->send();
......
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