aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/notification.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 6e984a435..b4c69f9b5 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -406,8 +406,9 @@
'entity' => $object,
'to_entity' => $user,
'method' => $method),$string);
- if (empty($methodstring)) $methodstring = $string;
- notify_user($user->guid,$object->container_guid,$descr,$methodstring,NULL,array($method));
+ if (empty($methodstring) && $methodstring !== false) $methodstring = $string;
+ if ($methodstring !== false)
+ notify_user($user->guid,$object->container_guid,$descr,$methodstring,NULL,array($method));
}
}
}