[导读]:打开include/taglib/arclist.lib.php,将第296行: if($CrossID==) $orwheres[] = arc.typeid IN (.GetSonIds($typeid).);else $orwheres[] = arc.typeid IN (.GetSonIds($typeid).,.$CrossID.); 改成 if($CrossID==) $orwheres[] = (arc.typ...
打开include/taglib/arclist.lib.php,将第296行:
改成
改完之后更新一下缓存即可
if($CrossID=='') $orwheres[] = ' arc.typeid IN ('.GetSonIds($typeid).')'; else $orwheres[] = ' arc.typeid IN ('.GetSonIds($typeid).','.$CrossID.')'; |
改成
if($CrossID=='') $orwheres[] = ' (arc.typeid IN ('.GetSonIds($typeid).') OR arc.typeid2 IN ('.GetSonIds($typeid).') or FIND_IN_SET('.$typeid .', arc.typeid2)>0)'; else $orwheres[] = ' (arc.typeid IN ('.GetSonIds($typeid).','.$CrossID.') OR arc.typeid2 IN ('.GetSonIds($typeid).','.$CrossID.') or FIND_IN_SET('.$typeid .',arc.typeid2)>0) '; |
改完之后更新一下缓存即可
本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/jc/115382.html