From 571c7b43a0001b8083ad7dba069070ef9fe741a6 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Wed, 26 May 2010 16:37:07 +0000 Subject: group video widget now displays git-svn-id: http://code.elgg.org@6237 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/videolist/groupprofile_videolist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/videolist/groupprofile_videolist.php') diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php index 8af5c9bd1..d782deb96 100644 --- a/views/default/videolist/groupprofile_videolist.php +++ b/views/default/videolist/groupprofile_videolist.php @@ -21,7 +21,7 @@ if (!$number) $number = 5; //get the user's files -$videos = get_user_objects($vars['entity']->guid, "videolist", $number, 0); +$videos = elgg_get_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => $number)); //if there are some files, go get them if ($videos) { -- cgit v1.2.3