From 43ad1c476817c9c65b5d77514aceb80161eb6fc0 Mon Sep 17 00:00:00 2001 From: ouzhiqiang <835402500@qq.com> Date: Thu, 18 Sep 2025 16:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/TopicNas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index e2945a12..bdc43bfe 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -277,7 +277,7 @@ class TopicNas extends Common } if ( !empty($article_categorys_two) ) { foreach ($article_categorys_new as &$vvv) { - $vvv['child'] = isset($article_categorys_two[$vvv->pid])?$article_categorys_two[$vvv->pid]:''; + $vvv['child'] = isset($article_categorys_two[$vvv->id])?$article_categorys_two[$vvv->id]:''; } } }