aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-14 17:24:39 -0700
committerfriendica <info@friendica.com>2014-08-14 17:24:39 -0700
commit9d2335ebc8d96659133385b45c89c3b6b24611f2 (patch)
treea97429604bc10c2712bc932ac95a9eb8df05f320 /include
parent1d6f49493674a8e9423f509eddea62f97c417ba5 (diff)
downloadvolse-hubzilla-9d2335ebc8d96659133385b45c89c3b6b24611f2.tar.gz
volse-hubzilla-9d2335ebc8d96659133385b45c89c3b6b24611f2.tar.bz2
volse-hubzilla-9d2335ebc8d96659133385b45c89c3b6b24611f2.zip
put an indicator (*) in the message subject line for notification emails when the message body has been suppressed
Diffstat (limited to 'include')
-rw-r--r--include/enotify.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 9a3afa477..e5d45c470 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -471,6 +471,7 @@ function notification($params) {
break;
case NOTIFY_MAIL:
$datarray['textversion'] = $datarray['htmlversion'] = $datarray['title'] = '';
+ $datarray['subject'] = preg_replace('/' . preg_quote(t('[Red:Notify]')) . '/','$0*',$datarray['subject']);
break;
default:
break;