aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-22 15:37:47 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-22 15:37:47 +0000
commit4807d374a4f558d9ae5669e359de05bcb2357ff4 (patch)
treeeb75ffbd049fbccae84f6e28883d993834195282
parent9b79c784b2035e767165f7f25ec0c4ffbf7b6fe3 (diff)
downloadelgg-4807d374a4f558d9ae5669e359de05bcb2357ff4.tar.gz
elgg-4807d374a4f558d9ae5669e359de05bcb2357ff4.tar.bz2
A further change to ensure notification messages don't get changed for every method if one method needs to make a change.
git-svn-id: https://code.elgg.org/elgg/trunk@2600 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/notification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 866ebc120..1cb940e0b 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -383,12 +383,12 @@
foreach($tmp as $k => $v)
if ($v) {
- $string = trigger_plugin_hook('notify:entity:message',$entity->getType(),array(
+ $methodstring = trigger_plugin_hook('notify:entity:message',$entity->getType(),array(
'entity' => $object,
'to_entity' => $user,
'method' => $v
),$string);
- notify_user($user->guid,$object->container_guid,$descr,$string,NULL,array($v));
+ notify_user($user->guid,$object->container_guid,$descr,$methodstring,NULL,array($v));
}
}
}