From d4340af4fc30e0d5c14d59d068517d04b856c73f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 24 Oct 2018 20:18:22 -0400 Subject: [PATCH] [forumdirectory] Use new Pager constructor and renderFull signatures --- forumdirectory/forumdirectory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index a5d27d4b..54818cdb 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); }