]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4208 notifications do not use site guid
authorcash <cash.costello@gmail.com>
Sun, 1 Jan 2012 01:25:41 +0000 (20:25 -0500)
committercash <cash.costello@gmail.com>
Sun, 1 Jan 2012 01:25:41 +0000 (20:25 -0500)
engine/lib/notification.php

index eb7e594c67727f7fce6479dd48e1aafdbeaa303c..5a2f5f8ac0d2e6176eb2756ce0270ce371492398 100644 (file)
@@ -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,