aboutsummaryrefslogtreecommitdiffstats
path: root/include/enotify.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/enotify.php')
-rw-r--r--include/enotify.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 440156bb9..a15e42b73 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -50,13 +50,13 @@ function notification($params) {
$additional_mail_header = "";
-
if(array_key_exists('item',$params)) {
// if it's a normal item...
if(array_key_exists('verb',$params['item'])) {
require_once('include/conversation.php');
// localize_item() alters the original item so make a copy first
$i = $params['item'];
+ logger('calling localize');
localize_item($i);
$title = $i['title'];
$body = $i['body'];
@@ -70,6 +70,7 @@ function notification($params) {
$title = $body = '';
}
+
// e.g. "your post", "David's photo", etc.
$possess_desc = t('%s <!item_type!>');