aboutsummaryrefslogtreecommitdiff
path: root/pages/ownedalbums.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/ownedalbums.php')
-rw-r--r--pages/ownedalbums.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/ownedalbums.php b/pages/ownedalbums.php
index f43c2c5eb..d22c6d44a 100644
--- a/pages/ownedalbums.php
+++ b/pages/ownedalbums.php
@@ -39,9 +39,11 @@
set_context('search');
set_input('search_viewtype', 'gallery');
if ($owner instanceof ElggGroup)
- $area2 .= list_entities("object", "album", $owner->guid, 12, false);
+ $content .= tp_list_entities("object", "album", 0, $owner->guid, 12, false);
else
- $area2 .= list_entities("object", "album", $owner->guid, 12, false);
+ $content .= tp_list_entities("object", "album", $owner->guid, $owner->guid, 12, false);
+
+ $area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,));
set_context('photos');
$body = elgg_view_layout('two_column_left_sidebar', '', $area2);