summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-24 07:53:26 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-24 07:53:26 +0000
commit67e68fc679643ccb7c79e7b160ae22813d44ed97 (patch)
treeaa9feb5f2b79913c0c2429b8a0c830e0bc3af526 /modules/comment.module
parente4ec9ad36dd6850e0e17bb75f977c03a7c2735f7 (diff)
downloadbrdo-67e68fc679643ccb7c79e7b160ae22813d44ed97.tar.gz
brdo-67e68fc679643ccb7c79e7b160ae22813d44ed97.tar.bz2
- Patch #28786 by Neil: move pagers out of table.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module4
1 files changed, 1 insertions, 3 deletions
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 .= '<div id="comment-moderation-button">'. form_submit(t('Moderate comments')) .'</div>';