aboutsummaryrefslogtreecommitdiff
path: root/actions/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/delete.php')
-rw-r--r--actions/delete.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/delete.php b/actions/delete.php
index 3deb69c5b..498c991c7 100644
--- a/actions/delete.php
+++ b/actions/delete.php
@@ -5,10 +5,10 @@
*
*/
- $forward_url = 'pg/photos/world'; // by default forward to world photos
+ // must be logged in
+ gatekeeper();
- //if not logged in, see world pictures instead
- if (!isloggedin()) forward($forward_url);
+ $forward_url = 'pg/photos/world'; // by default forward to world photos
$guid = (int) get_input('guid');