From a2348ddc66e1f2dc5c9ec30e6f7800e5f94a67d6 Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Wed, 18 Aug 2021 16:24:14 +0800 Subject: [PATCH] * Finish task#41561. --- module/execution/model.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index f95634054d..66392e01e8 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1299,15 +1299,15 @@ class executionModel extends model { $link = helper::createLink('repo', 'browse', "repoID=0&branchID=&executionID=%s"); } + elseif($module == 'doc') + { + $link = helper::createLink('doc', $method, "type=execution&objectID=%s&from=execution"); + } else { $link = helper::createLink($module, $method, "executionID=%s"); } - if($module == 'doc') - { - $link = helper::createLink('doc', $method, "type=execution&objectID=%s&from=execution"); - } return $link; }