01 {dede:channelartlist typeid='2'} 02 03
解决办法:去掉include/taglib/channel.lib.php中以下内容即可解决
//如果用子栏目模式,当没有子栏目时显示同级栏目
01 if($type=='son' && $reid!=0 && $totalRow==0) 02 03 { 04 05 $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath 06 07 FROM `arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line "; 08 09 $dsql->SetQuery($sql); 10 11 $dsql->Execute(); 12 13 } 标签: