From f5b55eecfe37f62fc0c27a35a186e77e182a6ddb Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 13 Apr 2022 15:03:57 +0800 Subject: [PATCH] * Fix bug#20006. --- module/action/model.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/module/action/model.php b/module/action/model.php index cd93cd03cf..ffe67a6bea 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -1421,6 +1421,16 @@ class actionModel extends model $action->objectLink = 'javascript:void(0)'; } + if($action->objectType == 'module') + { + $moduleType = $this->dao->select('type')->from(TABLE_MODULE)->where('id')->eq($action->objectID)->fetch('type'); + if($moduleType == 'doc') + { + $this->app->loadLang('doc'); + $action->objectLabel = $this->lang->doc->menuTitle; + } + } + return $action; }