mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 00:45:14 +02:00
Update Pager->__construct calls for minimal use cases
This commit is contained in:
parent
7c0b591043
commit
74e80f137b
4 changed files with 4 additions and 4 deletions
|
@ -308,7 +308,7 @@ function profile_content(App $a, $update = 0)
|
|||
$itemspage_network = $a->force_max_items;
|
||||
}
|
||||
|
||||
$pager = new Pager($a->query_string, null, $itemspage_network);
|
||||
$pager = new Pager($a->query_string, $itemspage_network);
|
||||
|
||||
$pager_sql = sprintf(" LIMIT %d, %d ", $pager->getStart(), $pager->getItemsPerPage());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue