aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}
}
}