From: Hypolite Petovan Date: Thu, 25 Oct 2018 00:18:22 +0000 (-0400) Subject: [forumdirectory] Use new Pager constructor and renderFull signatures X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d4340af4fc30e0d5c14d59d068517d04b856c73f;p=friendica-addons.git [forumdirectory] Use new Pager constructor and renderFull signatures --- 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); }