aboutsummaryrefslogtreecommitdiff
path: root/pages/photos/album/view.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-19 18:43:35 -0500
committercash <cash.costello@gmail.com>2011-11-19 18:43:35 -0500
commit98664daa72a390fe760b69116af8bfa9327826e3 (patch)
tree0c28594625cd810dcb2c22fc736191071c55b7fa /pages/photos/album/view.php
parent4562cfbb1a630b14fd194271f99f1f8c098dc38d (diff)
downloadelgg-98664daa72a390fe760b69116af8bfa9327826e3.tar.gz
elgg-98664daa72a390fe760b69116af8bfa9327826e3.tar.bz2
album creation and editing is working
Diffstat (limited to 'pages/photos/album/view.php')
-rw-r--r--pages/photos/album/view.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/photos/album/view.php b/pages/photos/album/view.php
index adb5a1b51..aafcf14bc 100644
--- a/pages/photos/album/view.php
+++ b/pages/photos/album/view.php
@@ -12,7 +12,8 @@ group_gatekeeper();
$album_guid = (int) get_input('guid');
$album = get_entity($album_guid);
if (!$album) {
-
+ // @todo album deleted or don't have access
+ forward('photos/all');
}
elgg_set_page_owner_guid($album->getContainerGUID());