From 56f4c24cc70713bc2c9ef0a1697bd7f533d215c2 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Wed, 19 May 2021 11:12:10 +0800 Subject: [PATCH] * Modifying Language Items. --- module/doc/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/control.php b/module/doc/control.php index 71c7bffcb7..c0e79d311b 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -158,7 +158,7 @@ class doc extends control if($type == 'execution') { $execution = $this->execution->getByID($objectID); - $this->lang->doc->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->execution); + if($execution->type == 'stage') $this->lang->doc->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->execution); if($execution->type == 'stage') $this->lang->doc->libTypeList['execution'] = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->libTypeList['execution']); }