From 2392386b861cef37908bb0b30b06f0491f44287a Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Fri, 14 May 2021 11:19:07 +0800 Subject: [PATCH] * Adjust the code. --- module/product/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/model.php b/module/product/model.php index dc6149eb9a..4f06264b5d 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -1046,7 +1046,7 @@ class productModel extends model $projectIdList = array(); foreach($executions as $id => $execution) $projectIdList[$execution->project] = $execution->project; - $executionPairs = array(); + $executionPairs = array(0 => ''); $projectPairs = $this->loadModel('project')->getPairsByIdList($projectIdList); foreach($executions as $id => $execution) {