* system is reserved word in MySQL5.7

This commit is contained in:
vimrus
2021-03-02 11:17:35 +08:00
parent 1c3975beb8
commit 148d4156f7
+1 -1
View File
@@ -544,7 +544,7 @@ class customModel extends model
$this->app->loadLang('custom');
$lang = $this->app->getClientLang();
$langData = $this->dao->select('`key`, `value`, system')->from(TABLE_LANG)
$langData = $this->dao->select('`key`, `value`, `system`')->from(TABLE_LANG)
->where('lang')->eq($lang)
->andWhere('module')->eq('custom')
->andWhere('section')->eq('URSRList')