* code for replace menu lang.

This commit is contained in:
wangyidong
2023-02-14 13:35:12 +08:00
parent 00e30d7351
commit ff5bc056bd
4 changed files with 79 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class customModel extends model
try
{
$sql = $this->dao->select('*')->from(TABLE_LANG)->where('`lang`')->in("$currentLang,all")->andWhere('vision')->eq($this->config->vision)->orderBy('lang,id')->get();
$sql = $this->dao->select('*')->from(TABLE_LANG)->where('`lang`')->in("$currentLang,all")->andWhere('vision')->eq($this->config->vision)->andWhere('systemMode')->eq($this->config->systemMode)->orderBy('lang,id')->get();
$stmt = $this->dbh->query($sql);
$allCustomLang = array();