[forumdirectory] Add L10n parameter to Pager constructor call #959

Merged
MrPetovan merged 2 commits from task/8293-forumdirectory-updates into develop 2020-02-16 20:09:02 +01:00

View file

@ -81,7 +81,7 @@ function forumdirectory_content(App $a)
$sql_extra = " AND ((`profile`.`name` LIKE '%$search%') OR
(`user`.`nickname` LIKE '%$search%') OR
(`profile`.`pdesc` LIKE '%$search%') OR
(`profile`.`about` LIKE '%$search%') OR
(`profile`.`locality` LIKE '%$search%') OR
(`profile`.`region` LIKE '%$search%') OR
(`profile`.`country-name` LIKE '%$search%') OR
@ -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 ";