diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index a5d27d4bb..54818cdb3 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -113,7 +113,7 @@ function forumdirectory_content(App $a) $total = $r[0]['total']; } - $pager = new Pager($a->query_string, $total, 60); + $pager = new Pager($a->query_string, 60); $order = " ORDER BY `name` ASC "; @@ -210,7 +210,7 @@ function forumdirectory_content(App $a) } $o .= "
\r\n"; - $o .= $pager->renderFull(); + $o .= $pager->renderFull($total); } else { info(L10n::t("No entries \x28some entries may be hidden\x29.") . EOL); }