From dc874101dab67cef6427501c84c142e29d49078d Mon Sep 17 00:00:00 2001 From: Guan Xiying Date: Wed, 19 Oct 2022 17:16:51 +0800 Subject: [PATCH] * Remove blank. --- framework/base/model.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/model.class.php b/framework/base/model.class.php index 43c04a5b3d..f370fd5248 100644 --- a/framework/base/model.class.php +++ b/framework/base/model.class.php @@ -303,7 +303,7 @@ class baseModel /* 实例化扩展类。Create an instance of the extension class and return it. */ $extensionObject = new $extensionClass; - if($type == 'model') $extensionClass = str_replace(ucfirst($type), '', $extensionClass); + if($type == 'model') $extensionClass = str_replace(ucfirst($type), '', $extensionClass); $this->$extensionClass = $extensionObject; return $extensionObject; }