From 445b77f1622a3e83cdda700d36360780340fbff7 Mon Sep 17 00:00:00 2001 From: odain Date: Wed, 1 Jul 2026 12:09:06 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09746=20-=20PR=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- synchro/synchrodatasource.class.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/synchro/synchrodatasource.class.inc.php b/synchro/synchrodatasource.class.inc.php index 447495a9e1..2d2241b386 100644 --- a/synchro/synchrodatasource.class.inc.php +++ b/synchro/synchrodatasource.class.inc.php @@ -3214,12 +3214,11 @@ class SynchroExecution $oLimitDate = new DateTime('1970-01-01'); } else { $oLimitDate = self::GetDataBaseCurrentDateTime(); - $this->ExactlySubtractSeconds($oLimitDate, $iFullLoadInterval); } } else { $oLimitDate = clone $this->m_oImportPhaseStartDate; - $this->ExactlySubtractSeconds($oLimitDate, $iFullLoadInterval); } + $this->ExactlySubtractSeconds($oLimitDate, $iFullLoadInterval); $this->m_oLastFullLoadStartDate = $oLimitDate; if ($bFirstPass) { $this->m_oStatLog->AddTrace('Limit Date: '.$this->m_oLastFullLoadStartDate->Format('Y-m-d H:i:s')); @@ -3339,7 +3338,7 @@ class SynchroExecution $aArguments['log'] = $this->m_oStatLog->GetKey(); $aArguments['change'] = $this->m_oChange->GetKey(); $aArguments['chunk'] = $iMaxChunkSize; - if (! is_null($this->m_oImportPhaseStartDate)) { + if (is_null($this->m_oImportPhaseStartDate)) { $aArguments['last_full_load'] = ''; } else { $aArguments['last_full_load'] = $this->m_oImportPhaseStartDate->Format('Y-m-d H:i:s');