aboutsummaryrefslogtreecommitdiff
path: root/views/rss
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss')
-rw-r--r--views/rss/videolist/videolist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/rss/videolist/videolist.php b/views/rss/videolist/videolist.php
index 86ea686ba..7745b070b 100644
--- a/views/rss/videolist/videolist.php
+++ b/views/rss/videolist/videolist.php
@@ -9,7 +9,7 @@
* @copyright Prateek Choudhary
*/
- if ($foreach = get_entities('object','',$vars['entity']->guid)) {
+ if ($foreach = elgg_get_entities(array('types' => 'object', 'subtypes' => 'videolist'))) {
foreach($foreach as $videos)
echo elgg_view_entity($videos);
}