From 98664daa72a390fe760b69116af8bfa9327826e3 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Nov 2011 18:43:35 -0500 Subject: album creation and editing is working --- pages/photos/album/view.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pages/photos/album/view.php') 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()); -- cgit v1.2.3