diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 142d76ca1..c3e330041 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -1204,14 +1204,12 @@ class comment //$from = $from + $this->commentsPerPage; - // from calculations are done by eNav() js. - return " - Previous - - Next - - "; - + // from calculations are done by eNav() js. + if($this->totalComments > $this->commentsPerPage) + { + return "" . LAN_PREVIOUS . " + " . LAN_NEXT . ""; + } }