From 8f2f7f8380cae8a1074ca96e8518b01fc23bc4a8 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 10 Sep 2014 18:30:30 +0200 Subject: [PATCH] Override 'enotify_no_content' system option if type is SYSTEM_EMAIL --- include/enotify.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/enotify.php b/include/enotify.php index 04db10500a..51263871b6 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -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'); -- 2.39.5