diff --git a/class/comment.php b/class/comment.php index 6bfb915..97056c4 100644 --- a/class/comment.php +++ b/class/comment.php @@ -276,15 +276,25 @@ function commentListShow($tpl_dir) LIMIT " . (int)$start . "," . (int)$limit . " "); - if ($num > $limit) + if ($num > $limit) { - $page_nav = '{t} '; - $page_nav = get_pagination(ceil($num / $limit), 'page', $page_nav, get_settings('navi_box')); - $page_nav = preg_replace('/(? ceil($num / $limit) ? $GLOBALS['page_id'][$document_id]['page'] : ceil($num / $limit)); } else {