From 4807d374a4f558d9ae5669e359de05bcb2357ff4 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 22 Jan 2009 15:37:47 +0000 Subject: 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 --- engine/lib/notification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') 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)); } } } -- cgit v1.2.3