aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 03:01:00 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 03:01:00 +0000
commit09619e09ed4544a0529231bfc8dd81ec719f2810 (patch)
tree3e74b71b9682174770518f3e9b6781911d05b2e5 /actions
parent8275ddfe8ebe821f1062f280696d475940461ba9 (diff)
downloadelgg-09619e09ed4544a0529231bfc8dd81ec719f2810.tar.gz
elgg-09619e09ed4544a0529231bfc8dd81ec719f2810.tar.bz2
moved edit and delete to page handler - need to update links
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()) {