From: cash Date: Sat, 5 Dec 2009 17:20:01 +0000 (+0000) Subject: get_entities_from_annotations was ignoring group_guid - setting container_guid now X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=64c20a7d0a147cc48cdccfe6adb66fba19f79f6b;p=lorea%2Felgg.git get_entities_from_annotations was ignoring group_guid - setting container_guid now git-svn-id: http://code.elgg.org/elgg/trunk@3730 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index c50e5ccb9..f7eaa1344 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -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; }