* router: fix error of calling undeinfed static property.

This commit is contained in:
liugang
2024-05-31 10:20:20 +08:00
parent ef5f59ebe4
commit 331b0fab35
+1 -1
View File
@@ -129,7 +129,7 @@ class router extends baseRouter
global $lang;
if(!is_object($lang)) $lang = new language();
if(isset(self::$loadedModules[$moduleName])) return $lang;
if(isset(self::$loadedLangs[$moduleName])) return $lang;
/* Set productCommon and projectCommon for flow. */
if($moduleName == 'common') $this->setCommonLang();