From 33934f0b65ba8f25125115c01e9af230712f9efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Thu, 30 Mar 2023 11:25:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=90=A6=E5=AE=9A=E6=A0=8F?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/taglib/channelartlist.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/taglib/channelartlist.lib.php b/src/system/taglib/channelartlist.lib.php index a5ec030a..54578a30 100755 --- a/src/system/taglib/channelartlist.lib.php +++ b/src/system/taglib/channelartlist.lib.php @@ -42,11 +42,11 @@ function lib_channelartlist(&$ctag, &$refObj) $tpsql = " id IN($typeid) AND ishidden<>1 "; } } - $dsql->SetQuery("SELECT * FROM `#@__arctype` WHERE $tpsql ORDER BY sortrank ASC LIMIT $totalnum"); //否定指定栏目 if ($notypeid!=0) { $tpsql = $tpsql."and not(id in($notypeid))"; } + $dsql->SetQuery("SELECT * FROM `#@__arctype` WHERE $tpsql ORDER BY sortrank ASC LIMIT $totalnum"); $dsql->Execute(); while ($row = $dsql->GetArray()) { $typeids[] = $row;