From cba55ab63e7f8b1188f0cdd39a76fd24cd5945de Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 18 Oct 2024 08:40:44 +0000 Subject: [PATCH] * [bug#56298,done,0.2h] fix bug. --- module/upgrade/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 407aedd891..f94738918d 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -9146,7 +9146,7 @@ class upgradeModel extends model $this->saveLogs($sql); $sql = str_replace('zt_', $this->config->db->prefix, $sql); - $this->dbh->query($sql); + $this->dbh->exec($sql); if(dao::isError()) return false; } }