diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-05-18 11:29:25 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-05-18 11:29:25 +0000 |
| commit | a96aba91f1aacde51e10bc49520911201713a380 (patch) | |
| tree | bae6c0ea394ea703fed87fefbbd51e109e69c8a3 /roundcubemail/program/steps/addressbook | |
| parent | d9339daa138f0bb552208a8dba3ab7f245b3424f (diff) | |
Use HTTP-POST requests for actions that change application state
git-svn-id: https://svn.roundcube.net/trunk@573 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/delete.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/delete.inc b/roundcubemail/program/steps/addressbook/delete.inc index e5c762844..f91b9ac42 100644 --- a/roundcubemail/program/steps/addressbook/delete.inc +++ b/roundcubemail/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) |
