mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fixed bug on Update / WriteLinks
SVN:trunk[139]
This commit is contained in:
@@ -552,7 +552,10 @@ abstract class DBObject
|
||||
while ($oLinkedObject = $oLinks->Fetch())
|
||||
{
|
||||
$oLinkedObject->Set($oAttDef->GetExtKeyToMe(), $this->m_iKey);
|
||||
$oLinkedObject->DBWrite();
|
||||
if ($oLinkedObject->IsModified())
|
||||
{
|
||||
$oLinkedObject->DBWrite();
|
||||
}
|
||||
}
|
||||
|
||||
// Delete the objects that were initialy present and disappeared from the list
|
||||
|
||||
Reference in New Issue
Block a user