Merge branch 'zentaopms_263_bug#29950' into 'master'
* Fix bug #29950. See merge request easycorp/zentaopms!6278
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user