diff --git a/module/doc/control.php b/module/doc/control.php index 9e86e6fd5e..f0ed7e1bbb 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -159,7 +159,7 @@ class doc extends control { $execution = $this->execution->getByID($objectID); $this->lang->doc->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->execution); - $this->lang->doc->libTypeList['execution'] = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->libTypeList['execution']); + if($execution->type == 'stage') $this->lang->doc->libTypeList['execution'] = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->libTypeList['execution']); } $libTypeList = $this->lang->doc->libTypeList;