diff options
author | cash <cash.costello@gmail.com> | 2012-01-02 17:49:31 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-01-02 17:49:31 -0500 |
commit | be94a34e652571eb61c3e306abfb7cce673823d7 (patch) | |
tree | 0984ee2d4735bc98a97c90ebfb40e206bc039d4f /pages/photos/album/view.php | |
parent | 55bbbaef6a06d4177dcaa32cee94095db0ae4042 (diff) | |
download | elgg-be94a34e652571eb61c3e306abfb7cce673823d7.tar.gz elgg-be94a34e652571eb61c3e306abfb7cce673823d7.tar.bz2 |
fixed group albums
Diffstat (limited to 'pages/photos/album/view.php')
-rw-r--r-- | pages/photos/album/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |