]> git.mxchange.org Git - friendica-addons.git/commitdiff
[forumdirectory] Add L10n parameter to Pager constructor call
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 16 Feb 2020 18:06:30 +0000 (13:06 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 16 Feb 2020 18:06:30 +0000 (13:06 -0500)
forumdirectory/forumdirectory.php

index aa760cf027e546d6d75732167ebed83bce93c78a..93c57564f238ae956efeceb8ddae6fe8522f1b3a 100644 (file)
@@ -99,7 +99,7 @@ function forumdirectory_content(App $a)
                $total = $cnt['total'];
        }
 
-       $pager = new Pager(DI::args()->getQueryString(), 60);
+       $pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 60);
 
        $order = " ORDER BY `name` ASC ";