From dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 13 Dec 2009 02:03:17 +0000 Subject: fixed display of some album pages - caused a cascade of changes required --- pages/ownedalbums.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pages/ownedalbums.php') 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); -- cgit v1.2.3