Remove deprecated App::query_string - replace with DI::args()->getQueryString()
This commit is contained in:
@@ -116,7 +116,7 @@ function notifications_content(App $a)
|
||||
}
|
||||
|
||||
// Set the pager
|
||||
$pager = new Pager($a->query_string, $perpage);
|
||||
$pager = new Pager(DI::args()->getQueryString(), $perpage);
|
||||
|
||||
// Add additional informations (needed for json output)
|
||||
$notifs['items_page'] = $pager->getItemsPerPage();
|
||||
|
||||
Reference in New Issue
Block a user