fix for register_long_arrays off

This commit is contained in:
Ralf Becker 2005-09-20 08:19:04 +00:00
parent 3ad5b1fb8b
commit cfa22b9915

View File

@ -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();
?>