From 09619e09ed4544a0529231bfc8dd81ec719f2810 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 28 Mar 2009 03:01:00 +0000 Subject: moved edit and delete to page handler - need to update links --- actions/delete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions') 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()) { -- cgit v1.2.3