From be94a34e652571eb61c3e306abfb7cce673823d7 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 2 Jan 2012 17:49:31 -0500 Subject: fixed group albums --- pages/photos/album/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/photos/album') diff --git a/pages/photos/album/view.php b/pages/photos/album/view.php index 39816b299..cef3647ee 100644 --- a/pages/photos/album/view.php +++ b/pages/photos/album/view.php @@ -32,7 +32,7 @@ elgg_push_breadcrumb($album->getTitle()); $content = elgg_view_entity($album, array('full_view' => true)); -if ($album->canWriteToContainer()) { +if ($album->getContainerEntity()->canWriteToContainer()) { elgg_register_menu_item('title', array( 'name' => 'upload', 'href' => 'photos/upload/' . $album->getGUID(), -- cgit v1.2.3