From: cash Date: Sun, 1 Jan 2012 01:25:41 +0000 (-0500) Subject: Fixes #4208 notifications do not use site guid X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=74a62bf4224e03827d6ba3ac80256be4f74d110b;p=lorea%2Felgg.git Fixes #4208 notifications do not use site guid --- 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,