aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--include/enotify.php1
-rw-r--r--version.inc2
2 files changed, 2 insertions, 1 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;
diff --git a/version.inc b/version.inc
index 541e61679..672a6d9b2 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-08-13.766
+2014-08-14.767