* Fix sql error.

This commit is contained in:
朱金勇
2024-02-22 08:47:55 +08:00
parent 3b3f402d92
commit 2ab54682fb
+1 -1
View File
@@ -140,7 +140,7 @@ class router extends baseRouter
$customMenus = array();
try
{
$customMenus = $this->dbQuery('SELECT * FROM' . TABLE_LANG . "WHERE `module`='common' AND `section`='mainNav' AND `lang`='{$this->clientLang}' AND `vision`='{$this->config->vision}'")->fetchAll();
$customMenus = $this->dbQuery('SELECT * FROM ' . TABLE_LANG . " WHERE `module`='common' AND `section`='mainNav' AND `lang`='{$this->clientLang}' AND `vision`='{$this->config->vision}'")->fetchAll();
}
catch(PDOException){}