aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-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) {