aboutsummaryrefslogtreecommitdiff
path: root/actions/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/edit.php')
-rw-r--r--actions/edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/edit.php b/actions/edit.php
index f5c66a1d8..e8f2e3aca 100644
--- a/actions/edit.php
+++ b/actions/edit.php
@@ -5,8 +5,8 @@
*
*/
- // Make sure we're logged in (send us to the front page if not)
- if (!isloggedin()) forward();
+ // Make sure we're logged in
+ gatekeeper();
// Get input data
$guid = (int) get_input('guid'); // guid of image or album