From 4af17c7e21545d231325a7f2fceb19284277a7fa Mon Sep 17 00:00:00 2001 From: cloud Date: Fri, 26 Jun 2020 01:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8C=E4=B8=AA=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E4=BD=8D=E8=A2=AB=E4=B8=A4=E4=B8=AA=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=AE=B5=E4=BF=9D=E5=AD=98=E5=90=8E=EF=BC=8C=E5=9B=A0=E6=9C=89?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E6=97=B6=E9=97=B4=E6=AE=B5=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=BB=A1=E8=B6=B3=E6=8A=95=E6=94=BE=E6=97=B6?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E8=80=8C=E4=B8=8D=E8=83=BD=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/ajax.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/ajax.class.php b/admin/ajax.class.php index 2d3408f..1fcfd1c 100644 --- a/admin/ajax.class.php +++ b/admin/ajax.class.php @@ -133,7 +133,8 @@ class ajax extends appadmin { $sqlupd = true; } //获取sql执行结果,查看是否存在错误 - if($error = $this->tsql->error()){ + $error = $this->tsql->error(); + if($error){ $elstr = $error; // 清楚掉已存在,但修改后无法达到要求的广告位 if($sqlupd){