phpcms v9中内容页的上一篇下一篇的文章是全站列表?

今天在修改网站页面是发现内容页的上一篇下一篇的文章是全站列表文章。
如何只显示该栏目的文章呢?

解决方法:
找到\install_package\phpcms\modules\content\classes\html.class.php

第71到74行:

//上一页
                $previous_page = $this->db->get_one("id<'$id' AND status=99",'*','id DESC');
                //下一页
                $next_page = $this->db->get_one("id>'$id' AND status=99");

修改为

//上一页
                $previous_page = $this->db->get_one("id<'$id' AND status=99 AND catid='$catid'",'*','id DESC');
                //下一页
                $next_page = $this->db->get_one("id>'$id' AND status=99 AND catid='$catid'");