mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
same as previous commit, but for the delete
This commit is contained in:
parent
dc9a06b7ce
commit
852c11cec9
@ -215,8 +215,8 @@
|
||||
if (! $GLOBALS['phpgw']->acl->check('session_only_preferences',1,'preferences'))
|
||||
{
|
||||
$this->db->transaction_begin();
|
||||
$this->db->query("DELETE FROM phpgw_preferences WHERE preference_owner='" . $this->account_id
|
||||
. "'",__LINE__,__FILE__);
|
||||
$this->db->query("DELETE FROM phpgw_preferences WHERE preference_owner=" . intval($this->account_id),
|
||||
__LINE__,__FILE__);
|
||||
|
||||
if (floor(phpversion()) < 4)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user