From 05614c1fd25b4d9abdd1304e8f19fe343d9115b2 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 15 Dec 2025 11:25:16 +0800 Subject: [PATCH] * [refac bug #68025] Use rawModule for flow. --- framework/model.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/model.class.php b/framework/model.class.php index 5d293a32c3..349b6df36c 100644 --- a/framework/model.class.php +++ b/framework/model.class.php @@ -391,7 +391,7 @@ class model extends baseModel if($this->config->edition == 'open') return array(); if(!empty($this->app->installing) || !empty($this->app->upgrading)) return array(); - return $this->loadModel('flow')->getExtendFields($this->app->getModuleName(), $this->app->getMethodName(), $objectID); + return $this->loadModel('flow')->getExtendFields($this->app->rawModule, $this->app->rawMethod, $objectID); } /** @@ -405,7 +405,7 @@ class model extends baseModel if($this->config->edition == 'open') return array(); if(!empty($this->app->installing) || !empty($this->app->upgrading)) return array(); - return $this->loadModel('workflowfield')->getExportFields($this->app->getModuleName()); + return $this->loadModel('workflowfield')->getExportFields($this->app->rawModule); } /** @@ -420,8 +420,8 @@ class model extends baseModel if($this->config->edition == 'open') return ''; if(!empty($this->app->installing) || !empty($this->app->upgrading)) return ''; - $moduleName = $this->app->getModuleName(); - $methodName = $this->app->getMethodName(); + $moduleName = $this->app->rawModule; + $methodName = $this->app->rawMethod; $groupID = $this->loadModel('workflowgroup')->getGroupIDByDataID($moduleName, $objectID); $action = $this->loadModel('workflowaction')->getByModuleAndAction($moduleName, $methodName, $groupID);