* Compatible array_fill method params type.

This commit is contained in:
tianshujie
2023-11-22 14:37:55 +08:00
parent 136233d222
commit 42e56cfe56
+1 -1
View File
@@ -764,7 +764,7 @@ class execution extends control
$chartData = $this->execution->buildBurnData($executionID, $dateList, $burnBy, $executionEnd);
$allDateList = date::getDateList($execution->begin, $endDate, 'Y-m-d', $type, $this->config->execution->weekend);
$dayList = array_fill(1, floor(count($allDateList) / $this->config->execution->maxBurnDay) + 5, '');
$dayList = array_fill(1, (int)floor(count($allDateList) / $this->config->execution->maxBurnDay) + 5, '');
foreach($dayList as $key => $val) $dayList[$key] = $this->lang->execution->interval . ($key + 1) . $this->lang->day;
unset($this->lang->TRActions);