From 42e56cfe5689b6a795686c436b54ae3b599ce67e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 22 Nov 2023 14:37:09 +0800 Subject: [PATCH] * Compatible array_fill method params type. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 1689b22756..6bd6a98a3a 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -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);