diff --git a/core/bulkchange.class.inc.php b/core/bulkchange.class.inc.php index de5960e86..d8bad086c 100644 --- a/core/bulkchange.class.inc.php +++ b/core/bulkchange.class.inc.php @@ -1236,7 +1236,10 @@ class BulkChange $iPreviousTimeLimit = ini_get('max_execution_time'); $iLoopTimeLimit = MetaModel::GetConfig()->Get('max_execution_time_per_loop'); - $iNBFields = count($this->m_aAttList) + count($this->m_aExtKeys); + $iNBFields = count($this->m_aAttList); + foreach ($this->m_aExtKeys as $aReconcilKeys) { + $iNBFields += count($aReconcilKeys); + } // Avoid too many events cmdbAbstractObject::SetEventDBLinksChangedBlocked(true);