mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix for register_long_arrays off
This commit is contained in:
parent
3ad5b1fb8b
commit
cfa22b9915
@ -16,6 +16,6 @@
|
||||
$table_locks = Array('phpgw_preferences');
|
||||
|
||||
$GLOBALS['egw']->db->lock($table_locks);
|
||||
$GLOBALS['egw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$GLOBALS['HTTP_POST_VARS']['account_id'],__LINE__,__FILE__);
|
||||
$GLOBALS['egw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.(int)$_POST['account_id'],__LINE__,__FILE__);
|
||||
$GLOBALS['egw']->db->unlock();
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user