mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
set_time_limit accept only int in PHP7.4
This commit is contained in:
@@ -128,7 +128,7 @@ class HTMLBulkExport extends TabularBulkExport
|
||||
$iLoopTimeLimit = MetaModel::GetConfig()->Get('max_execution_time_per_loop');
|
||||
while($aRow = $oSet->FetchAssoc())
|
||||
{
|
||||
set_time_limit($iLoopTimeLimit);
|
||||
set_time_limit(intval($iLoopTimeLimit));
|
||||
$oMainObj = $aRow[$sFirstAlias];
|
||||
$sHilightClass = '';
|
||||
if ($oMainObj)
|
||||
@@ -160,7 +160,7 @@ class HTMLBulkExport extends TabularBulkExport
|
||||
$sData .= "</tr>";
|
||||
$iCount++;
|
||||
}
|
||||
set_time_limit($iPreviousTimeLimit);
|
||||
set_time_limit(intval($iPreviousTimeLimit));
|
||||
$this->aStatusInfo['position'] += $this->iChunkSize;
|
||||
if ($this->aStatusInfo['total'] == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user