diff --git a/config/zentaopms.php b/config/zentaopms.php index eb0bbb72bb..082f797671 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_STORYESTIMATE', '`' . $config->db->prefix . 'storyestimate`'); define('TABLE_PRODUCTPLAN', '`' . $config->db->prefix . 'productplan`'); 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) {