Fix the following bugs,

[ 996794 ] Custom field can not be deleted.
[ 1029059 ] Delete user fields
[ 1154738 ] Customer fields contain UTF-8 works could not be deleted.

The problem is due to, some specail characters, e.g, utf-8 chars, are url-encoded for generationg the url, but are not decoded when trying to delete them.
This commit is contained in:
dawnlinux 2005-03-02 02:50:42 +00:00
parent 9d154b8ba4
commit 5b7f56fce7

View File

@ -307,7 +307,7 @@
$GLOBALS['phpgw']->common->phpgw_exit();
}
$field = $_POST['field'] ? $_POST['field'] : $_GET['field'];
$field = urldecode($_POST['field'] ? $_POST['field'] : $_GET['field']);
$field_id = $_POST['field_id'] ? $_POST['field_id'] : $_GET['field_id'];
$start = $_POST['start'] ? $_POST['start'] : $_GET['start'];
$query = $_POST['query'] ? $_POST['query'] : $_GET['query'];