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. */