mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2614 Fix datasynchro error when running synchro_import.php
This commit is contained in:
@@ -3001,7 +3001,7 @@ class SynchroExecution
|
||||
$this->m_oChange->Set('userinfo', $sUserString.' '.Dict::S('Core:SyncDataExchangeComment'));
|
||||
$this->m_oChange->Set('origin', 'synchro-data-source');
|
||||
$this->m_oChange->DBInsert();
|
||||
CMDBObject::SetCurrentChange($oChange);
|
||||
CMDBObject::SetCurrentChange($this->m_oChange);
|
||||
|
||||
// Start logging this execution (stats + protection against reentrance)
|
||||
//
|
||||
@@ -3378,7 +3378,7 @@ class SynchroExecution
|
||||
self::$m_oCurrentTask = $this->m_oDataSource;
|
||||
$this->m_oStatLog = $oLog;
|
||||
$this->m_oChange = $oChange;
|
||||
CMDBObject::SetCurrentChange($oChange);
|
||||
CMDBObject::SetCurrentChange($this->m_oChange);
|
||||
|
||||
// Prepare internal structures (not the first pass)
|
||||
$this->PrepareProcessing(false);
|
||||
|
||||
Reference in New Issue
Block a user