Merge branch 'xieqiyu_fixbug_18792' into 'master'

* Fix bug#18792.

See merge request easycorp/zentaopms!1520
This commit is contained in:
孙广明
2022-01-21 06:35:15 +00:00
+1 -1
View File
@@ -248,7 +248,7 @@ class task extends control
$this->view->position = $position;
$this->view->gobackLink = (isset($output['from']) and $output['from'] == 'global') ? $this->createLink('execution', 'task', "executionID=$executionID") : '';
$this->view->execution = $execution;
$this->view->executions = $this->config->systemMode == 'classic' ? $executions : $this->execution->getByProject(0, 'all', 0, true);
$this->view->executions = $this->config->systemMode == 'classic' ? $executions : $this->execution->getByProject(0, 'undone', 0, true);
$this->view->task = $task;
$this->view->users = $users;
$this->view->storyID = $storyID;