This commit is contained in:
hufangzhou
2022-03-07 17:53:29 +08:00
parent 24305ecd66
commit 9482bb429a
+1
View File
@@ -524,6 +524,7 @@ class customModel extends model
public function getURSRPairs()
{
$lang = $this->app->getClientLang();
$lang = $lang == 'zh-tw' ? 'zh-cn' : $lang;
$langData = $this->dao->select('`key`, `value`, `system`')->from(TABLE_LANG)
->where('lang')->eq($lang)
->andWhere('module')->eq('custom')