mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:10:10 +00:00
Add L10n parameter to Pager classes
This commit is contained in:
parent
682fb7e4e2
commit
561472b975
20 changed files with 53 additions and 52 deletions
|
@ -70,7 +70,7 @@ class Directory extends BaseModule
|
|||
$gDirPath = Profile::zrl($dirURL, true);
|
||||
}
|
||||
|
||||
$pager = new Pager(DI::args()->getQueryString(), 60);
|
||||
$pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 60);
|
||||
|
||||
$profiles = Profile::searchProfiles($pager->getStart(), $pager->getItemsPerPage(), $search);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue