From 58f3baea8b64fb5173f4676bdc199a17e3f30e96 Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Fri, 14 May 2021 09:15:04 +0800 Subject: [PATCH 1/2] * Add the story review table. --- config/zentaopms.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/zentaopms.php b/config/zentaopms.php index 2b3487872e..94c4e33c72 100644 --- a/config/zentaopms.php +++ b/config/zentaopms.php @@ -136,6 +136,7 @@ define('TABLE_EXPECT', '`' . $config->db->prefix . 'expect`'); define('TABLE_STAKEHOLDER', '`' . $config->db->prefix . 'stakeholder`'); define('TABLE_STORY', '`' . $config->db->prefix . 'story`'); define('TABLE_STORYSPEC', '`' . $config->db->prefix . 'storyspec`'); +define('TABLE_STORYREVIEW', '`' . $config->db->prefix . 'storyreview`'); define('TABLE_STORYSTAGE', '`' . $config->db->prefix . 'storystage`'); define('TABLE_PRODUCTPLAN', '`' . $config->db->prefix . 'productplan`'); define('TABLE_PLANSTORY', '`' . $config->db->prefix . 'planstory`'); 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 2/2] * 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) {