From 183db59e360e31250420c6683005f3fbbcd37c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Thu, 6 Nov 2025 16:04:30 +0800 Subject: [PATCH] * [highgo] replace iqchar --- lib/base/dao/dao.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/base/dao/dao.class.php b/lib/base/dao/dao.class.php index 6931bce7a8..c4b944de9c 100644 --- a/lib/base/dao/dao.class.php +++ b/lib/base/dao/dao.class.php @@ -2393,7 +2393,11 @@ class baseSQL if(strpos($set, '=') === false) { $set = str_replace(',', '', $set); - $set = '`' . str_replace('`', '', $set) . '`'; + $set = $this->dbh->iqchar . str_replace('`', '', $set) . $this->dbh->iqchar; + } + else + { + $set = str_replace('`', $this->dbh->iqchar, $set); } $this->sql .= $this->isFirstSet ? " $set" : ", $set";