aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/delete.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/delete.php b/actions/delete.php
index e142e9660..5c275003e 100644
--- a/actions/delete.php
+++ b/actions/delete.php
@@ -8,8 +8,8 @@
//if not logged in, see world pictures instead
if (!isloggedin()) forward('pg/photos/world');
- $guid = (int) get_input('file');
- $forward_url = 'pg/photos/world'; //forward to world pictures if there is an unknown error
+ $guid = (int) get_input('guid');
+ $forward_url = 'pg/photos/world'; //forward to world pictures if there is an unknown error
if ($photoObject = get_entity($guid)) {
if ($photoObject->canEdit()) {