Merge pull request #959 from MrPetovan/task/8293-forumdirectory-updates

[forumdirectory] Add L10n parameter to Pager constructor call
This commit is contained in:
Tobias Diekershoff 2020-02-16 20:09:02 +01:00 committed by GitHub
commit ca3213b394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ";