* Fix bug: return error.

This commit is contained in:
zhujinyong
2022-02-22 09:26:31 +08:00
parent 002e215a3d
commit 5a334ccb86
4 changed files with 33 additions and 32 deletions
+2 -1
View File
@@ -1671,7 +1671,8 @@ class execution extends control
$this->view->project = $this->project->getById($this->session->project);
}
$executionIDList = $this->post->executionIDList ? $this->post->executionIDList : return print(js::locate($this->session->executionList, 'parent'));
if(!$this->post->executionIDList) return print(js::locate($this->session->executionList, 'parent'));
$executionIDList = $this->post->executionIDList;
$executions = $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->in($executionIDList)->fetchAll('id');
$appendPoUsers = $appendPmUsers = $appendQdUsers = $appendRdUsers = array();