[forumdirectory] Add L10n parameter to Pager constructor call #959
1 changed files with 2 additions and 2 deletions
|
@ -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 ";
|
||||
|
||||
|
|
Loading…
Reference in a new issue