From 05a652d5fe58646a33b0488253a4f06458b574c0 Mon Sep 17 00:00:00 2001 From: wangyuting <851424971@qq.com> Date: Mon, 21 Nov 2022 06:08:46 +0000 Subject: [PATCH] * Fix bug #29950. --- module/doc/control.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/module/doc/control.php b/module/doc/control.php index a98bd09dde..4103791853 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -156,8 +156,15 @@ class doc extends control /* Splice project name. */ foreach($executions as $executionID => $execution) { - $executionPrefix = isset($projects[$execution->project]) ? $projects[$execution->project] . '/' : ''; - $executions[$executionID] = $executionPrefix . $execution->name; + if($execution->multiple) + { + $executionPrefix = isset($projects[$execution->project]) ? $projects[$execution->project] . '/' : ''; + $executions[$executionID] = $executionPrefix . $execution->name; + } + else + { + unset($executions[$executionID]); + } } /* Get the project that has permission to view. */