mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +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