Fix content not allowed flag ...
This commit is contained in:
parent
1fa69b3e43
commit
ea99ab22a9
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class NotifyMailBuilder extends MailBuilder
|
|||
protected $siteAdmin;
|
||||
|
||||
/** @var bool */
|
||||
private $contentAllowed = true;
|
||||
private $contentAllowed = false;
|
||||
/** @var string */
|
||||
private $title = '';
|
||||
/** @var array Details to print a photo:
|
||||
|
@ -65,7 +65,7 @@ class NotifyMailBuilder extends MailBuilder
|
|||
$this->withSender($siteName, $siteEmailAddress, $siteEmailAddress);
|
||||
|
||||
// check whether sending post content in email notifications is allowed
|
||||
$this->contentAllowed = $this->config->get('system', 'enotify_no_content');
|
||||
$this->contentAllowed = !$this->config->get('system', 'enotify_no_content', false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue