From db58ab7e51e539ec3172762d5c781338d58ad4b8 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Wed, 2 Jun 2010 12:25:27 +0000 Subject: replaced deprecated function calls git-svn-id: http://code.elgg.org@6321 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/rss/videolist/videolist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/rss') 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); } -- cgit v1.2.3