aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-31 20:25:41 -0500
committercash <cash.costello@gmail.com>2011-12-31 20:25:41 -0500
commit74a62bf4224e03827d6ba3ac80256be4f74d110b (patch)
tree6dcad0856ee89a7bf7d5de1f01d1a578ebb5bc08 /engine/lib
parent7916edda4afa2c75654a120a40f2e04c46079b57 (diff)
downloadelgg-74a62bf4224e03827d6ba3ac80256be4f74d110b.tar.gz
elgg-74a62bf4224e03827d6ba3ac80256be4f74d110b.tar.bz2
Fixes #4208 notifications do not use site guid
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/notification.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index eb7e594c6..5a2f5f8ac 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -487,6 +487,7 @@ function object_notifications($event, $object_type, $object) {
// (Person defined by container_guid so we can also subscribe to groups if we want)
foreach ($NOTIFICATION_HANDLERS as $method => $foo) {
$interested_users = elgg_get_entities_from_relationship(array(
+ 'site_guids' => ELGG_ENTITIES_ANY_VALUE,
'relationship' => 'notify' . $method,
'relationship_guid' => $object->container_guid,
'inverse_relationship' => TRUE,