From 67e68fc679643ccb7c79e7b160ae22813d44ed97 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Sep 2005 07:53:26 +0000 Subject: - Patch #28786 by Neil: move pagers out of table. --- modules/comment.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index 8ee6594b6..41db638f7 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -938,9 +938,7 @@ function comment_render($node, $cid = 0) { // Use the standard pager; $pager_total is the number of returned rows, // is global and defined in pager.inc. - if ($pager = theme('pager', NULL, $comments_per_page, 0, array('comments_per_page' => $comments_per_page))) { - $output .= $pager; - } + $output .= theme('pager', NULL, $comments_per_page, 0, array('comments_per_page' => $comments_per_page)); if (db_num_rows($result) && comment_user_can_moderate($node)) { $output .= '
'. form_submit(t('Moderate comments')) .'
'; -- cgit v1.2.3