From 9d2335ebc8d96659133385b45c89c3b6b24611f2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 14 Aug 2014 17:24:39 -0700 Subject: put an indicator (*) in the message subject line for notification emails when the message body has been suppressed --- include/enotify.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3