]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
get_entities_from_annotations was ignoring group_guid - setting container_guid now
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 5 Dec 2009 17:20:01 +0000 (17:20 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 5 Dec 2009 17:20:01 +0000 (17:20 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3730 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/annotations.php

index c50e5ccb92658c256475e01a4440f143de6cce22..f7eaa13446d4c88e055d022add764224a1674e96 100644 (file)
@@ -716,6 +716,10 @@ function get_entities_from_annotations($entity_type = "", $entity_subtype = "",
                $options['owner_guid'] = $owner_guid;
        }
 
+       if ($group_guid) {
+               $options['container_guid'] = $group_guid;
+       }
+       
        if ($limit) {
                $options['limit'] = $limit;
        }