mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 22:18:46 +02:00
CRUD reentrance protection
This commit is contained in:
@@ -608,15 +608,7 @@ abstract class CMDBObject extends DBObject
|
||||
|
||||
public function DBUpdate()
|
||||
{
|
||||
// Copy the changes list before the update (the list should be reset afterwards)
|
||||
$aChanges = $this->ListChanges();
|
||||
if (count($aChanges) == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$ret = parent::DBUpdate();
|
||||
return $ret;
|
||||
parent::DBUpdate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user