From 148d4156f7703aaa71b7b84a8e451ba0846975c6 Mon Sep 17 00:00:00 2001 From: vimrus Date: Tue, 2 Mar 2021 11:17:35 +0800 Subject: [PATCH] * `system` is reserved word in MySQL5.7 --- module/custom/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/custom/model.php b/module/custom/model.php index 4000333987..8442e4a89b 100644 --- a/module/custom/model.php +++ b/module/custom/model.php @@ -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')