mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Merge branch 'support/3.2' into develop
This commit is contained in:
@@ -2400,7 +2400,9 @@ class SynchroReplica extends DBObject implements iDisplay
|
||||
}
|
||||
// Really modified ?
|
||||
if ($oDestObj->IsModified()) {
|
||||
$oDestObj::SetCurrentChange($oChange);
|
||||
if (method_exists(get_class($oDestObj), "SetCurrentChange")) {
|
||||
$oDestObj::SetCurrentChange($oChange);
|
||||
}
|
||||
$oDestObj->DBUpdate();
|
||||
$bModified = true;
|
||||
$oStatLog->AddTrace('Updated object - Values: {'.implode(', ', $aValueTrace).'}', $this);
|
||||
@@ -2450,7 +2452,10 @@ class SynchroReplica extends DBObject implements iDisplay
|
||||
$aValueTrace[] = "$sAttCode: $value";
|
||||
}
|
||||
}
|
||||
$oDestObj::SetCurrentChange($oChange);
|
||||
|
||||
if (method_exists(get_class($oDestObj), "SetCurrentChange")) {
|
||||
$oDestObj::SetCurrentChange($oChange);
|
||||
}
|
||||
$iNew = $oDestObj->DBInsert();
|
||||
|
||||
$this->Set('dest_id', $oDestObj->GetKey());
|
||||
|
||||
Reference in New Issue
Block a user