aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-11-14 23:14:45 -0500
committerSteve Clay <steve@mrclay.org>2012-11-14 23:14:45 -0500
commit1f20b049386e8f7a373d88ffbab636518746ba4c (patch)
treeb6b20d281d400e028160330559ebf43da07953d9 /mod
parent28b76dca0de501efb2c908afb9b239f0f3c4a4d6 (diff)
parentcbf1943fe9b17ba371c533d2d6482ea8b2149d2e (diff)
downloadelgg-1f20b049386e8f7a373d88ffbab636518746ba4c.tar.gz
elgg-1f20b049386e8f7a373d88ffbab636518746ba4c.tar.bz2
Merge branch 'pr-424' into 1.8
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/rss/groups/profile/layout.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/mod/groups/views/rss/groups/profile/layout.php b/mod/groups/views/rss/groups/profile/layout.php
index 3eeb9eaf2..0dafe78ad 100644
--- a/mod/groups/views/rss/groups/profile/layout.php
+++ b/mod/groups/views/rss/groups/profile/layout.php
@@ -7,7 +7,12 @@
* @uses $vars['entity'] ElggGroup object
*/
-echo elgg_list_entities(array(
- 'type' => 'object',
- 'container_guid' => $vars['entity']->getGUID(),
-));
+$entities = elgg_get_config('registered_entities');
+
+if (!empty($entities['object'])) {
+ echo elgg_list_entities(array(
+ 'type' => 'object',
+ 'subtypes' => $entities['object'],
+ 'container_guid' => $vars['entity']->getGUID(),
+ ));
+}