mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
- Regression from previous fix: don't Reload an object before saving it !
SVN:trunk[1663]
This commit is contained in:
@@ -1606,10 +1606,8 @@ abstract class DBObject
|
||||
// if one call fails, the whole is considered as failed
|
||||
if (!$bRet) $bSuccess = false;
|
||||
}
|
||||
|
||||
if ($bSuccess)
|
||||
{
|
||||
$this->Reload(); // in case an action modified something (like an object pointed to by an ext key)
|
||||
// Change state triggers...
|
||||
$sClass = get_class($this);
|
||||
$sClassList = implode("', '", MetaModel::EnumParentClasses($sClass, ENUM_PARENT_CLASSES_ALL));
|
||||
|
||||
Reference in New Issue
Block a user