aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/groupprofile_videolist.php
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-26 16:37:07 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-26 16:37:07 +0000
commit571c7b43a0001b8083ad7dba069070ef9fe741a6 (patch)
tree26cfca8fa2542943dac4e9a42b8f8969ebc391d6 /views/default/videolist/groupprofile_videolist.php
parentb655b7abd16184772833be90838448155265233b (diff)
downloadelgg-571c7b43a0001b8083ad7dba069070ef9fe741a6.tar.gz
elgg-571c7b43a0001b8083ad7dba069070ef9fe741a6.tar.bz2
group video widget now displays
git-svn-id: http://code.elgg.org@6237 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/videolist/groupprofile_videolist.php')
-rw-r--r--views/default/videolist/groupprofile_videolist.php2
1 files changed, 1 insertions, 1 deletions
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) {