diff options
Diffstat (limited to 'pages/photos/album/view.php')
-rw-r--r-- | pages/photos/album/view.php | 3 |
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()); |