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
|
@ -121,7 +121,7 @@ function notifications_content(App $a)
|
|||
}
|
||||
|
||||
// Set the pager
|
||||
$pager = new Pager($a->query_string, null, $perpage);
|
||||
$pager = new Pager($a->query_string, $perpage);
|
||||
|
||||
// Add additional informations (needed for json output)
|
||||
$notifs['items_page'] = $pager->getItemsPerPage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue