mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02: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 */
|
/* Do this last since we are depending upon this record to get the account_lid above */
|
||||||
$tables_array = Array('phpgw_accounts');
|
$tables_array = Array('phpgw_accounts');
|
||||||
$this->db->lock($tables_array);
|
$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();
|
$this->db->unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user