From 232e6f6a837d7a1144b2644e5d1aa158ba6bc2b2 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 8 Jan 2025 16:44:52 +0800 Subject: [PATCH] * [bug#58751] Fix the bug of no execution. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index d0dd9d41cc..d86857cdbd 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -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;