diff --git a/module/doc/control.php b/module/doc/control.php index 58e48493ab..ac0b2698ff 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -165,7 +165,7 @@ class doc extends control $libTypeList = $this->lang->doc->libTypeList; if(empty($products)) unset($libTypeList['product']); if(empty($projects)) unset($libTypeList['project']); - if(empty($executions) or $type == 'custom') unset($libTypeList['execution']); + if(empty($executions) or ($type == 'custom' and $this->config->systemMode == 'new')) unset($libTypeList['execution']); $this->view->groups = $this->loadModel('group')->getPairs(); $this->view->users = $this->user->getPairs('nocode');