mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
Override 'enotify_no_content' system option if type is SYSTEM_EMAIL
This commit is contained in:
parent
7687342849
commit
8f2f7f8380
1 changed files with 2 additions and 1 deletions
|
@ -542,7 +542,8 @@ function notification($params) {
|
|||
call_hooks('enotify_mail', $datarray);
|
||||
|
||||
// check whether sending post content in email notifications is allowed
|
||||
$content_allowed = !get_config('system','enotify_no_content');
|
||||
// always true for "SYSTEM_EMAIL"
|
||||
$content_allowed = ((!get_config('system','enotify_no_content')) || ($params['type'] == "SYSTEM_EMAIL"));
|
||||
|
||||
// load the template for private message notifications
|
||||
$tpl = get_markup_template('email_notify_html.tpl');
|
||||
|
|
Loading…
Reference in a new issue