summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 11:29:25 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 11:29:25 +0000
commit8d07583f3920f27186ccc16ea1ecb49104f1e32d (patch)
treed78dc7781c357e9323313585c1cb20104a3a61ee /program/steps/addressbook
parent3c3b3517c1d806c1602d09b216348954f17a8750 (diff)
Use HTTP-POST requests for actions that change application state
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r--program/steps/addressbook/delete.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/delete.inc b/program/steps/addressbook/delete.inc
index e5c762844..f91b9ac42 100644
--- a/program/steps/addressbook/delete.inc
+++ b/program/steps/addressbook/delete.inc
@@ -19,7 +19,7 @@
*/
-if (($cid = get_input_value('_cid', RCUBE_INPUT_GPC)) && preg_match('/^[0-9]+(,[0-9]+)*$/', $cid))
+if (($cid = get_input_value('_cid', RCUBE_INPUT_POST)) && preg_match('/^[0-9]+(,[0-9]+)*$/', $cid))
{
$deleted = $CONTACTS->delete($cid);
if (!$deleted)