aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-05 17:20:01 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-05 17:20:01 +0000
commit64c20a7d0a147cc48cdccfe6adb66fba19f79f6b (patch)
treefab686cfdac6c53930769e53823c41a11c81c8f7 /engine
parent6c016b2bedd42185a8aed07ae40b41283e15d5cd (diff)
downloadelgg-64c20a7d0a147cc48cdccfe6adb66fba19f79f6b.tar.gz
elgg-64c20a7d0a147cc48cdccfe6adb66fba19f79f6b.tar.bz2
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
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/annotations.php4
1 files changed, 4 insertions, 0 deletions
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;
}