forked from extern/egroupware
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:
parent
9d154b8ba4
commit
5b7f56fce7
@ -307,7 +307,7 @@
|
|||||||
$GLOBALS['phpgw']->common->phpgw_exit();
|
$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'];
|
$field_id = $_POST['field_id'] ? $_POST['field_id'] : $_GET['field_id'];
|
||||||
$start = $_POST['start'] ? $_POST['start'] : $_GET['start'];
|
$start = $_POST['start'] ? $_POST['start'] : $_GET['start'];
|
||||||
$query = $_POST['query'] ? $_POST['query'] : $_GET['query'];
|
$query = $_POST['query'] ? $_POST['query'] : $_GET['query'];
|
||||||
|
Loading…
Reference in New Issue
Block a user