mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix for delete with empty account_id
This commit is contained in:
parent
7451250ae7
commit
30a4f77153
@ -125,7 +125,7 @@
|
||||
/* Do this last since we are depending upon this record to get the account_lid above */
|
||||
$tables_array = Array('phpgw_accounts');
|
||||
$this->db->lock($tables_array);
|
||||
$this->db->query('DELETE FROM phpgw_accounts WHERE account_id=' . $account_id);
|
||||
$this->db->query('DELETE FROM phpgw_accounts WHERE account_id=' . intval($account_id),__LINE__,__FILE__);
|
||||
$this->db->unlock();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user