* [bug#58751] Fix the bug of no execution.

This commit is contained in:
xieqiyu
2025-01-08 16:51:54 +08:00
committed by 王于听
parent be654b9451
commit 232e6f6a83
+1 -1
View File
@@ -4041,7 +4041,7 @@ class executionModel extends model
$this->config->execution->search['queryID'] = $queryID;
$this->config->execution->search['params']['story']['values'] = $this->loadModel('story')->getExecutionStoryPairs($executionID, 0, 'all', '', 'full', 'unclosed', 'story', false);
if($execution->type == 'project')
if(isset($execution->type) && $execution->type == 'project')
{
unset($this->config->execution->search['fields']['project']);
$this->config->execution->search['params']['execution']['values'] = array('' => '') + $executions;