Skip to content
Snippets Groups Projects
Commit 83cf3c23 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] fix broken blacklist check

parent 5b499f96
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
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