From bcd51ec9df489a73220088af3527c3aac3068dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Fri, 8 Jul 2022 11:13:54 +0800 Subject: [PATCH] * For code error. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 88a1884b80..937bbe8be1 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -2517,7 +2517,7 @@ class executionModel extends model $this->loadModel('action'); $linkedCases = $this->dao->select('*')->from(TABLE_PROJECTCASE)->where('project')->eq($executionID)->orderBy('order_desc')->fetchPairs('case', 'order'); $lastCaseOrder = empty($linkedCases) ? 0 : reset($linkedCases); - $cases = $this->dao->select('id, version')->from(TABLE_CASE)->where('story')->eq($storyID)->fetchParis('id'); + $cases = $this->dao->select('id, version')->from(TABLE_CASE)->where('story')->eq($storyID)->fetchPairs('id'); foreach($cases as $caseID => $case) { if(isset($linkedCases[$caseID])) continue;