diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-06-01 10:29:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 10:29:32 +0200 |
commit | 5d03e2d1a58d7961aeb3b93dbd864731719af921 (patch) | |
tree | 702aa580c60c788ee51ace0ed79409491854c825 /src/Wallabag/CoreBundle/Controller/EntryController.php | |
parent | 2a0eec07a5630401a9ceb7add65604f79238f10c (diff) | |
parent | 3a6af6c580b686593045a8f0cfbfc478aa93943c (diff) | |
download | wallabag-5d03e2d1a58d7961aeb3b93dbd864731719af921.tar.gz wallabag-5d03e2d1a58d7961aeb3b93dbd864731719af921.tar.zst wallabag-5d03e2d1a58d7961aeb3b93dbd864731719af921.zip |
Merge pull request #3172 from wallabag/more-scruti
More Scrutinizer issues fixed
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/EntryController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 8d2ac6d4..9fe3e693 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -321,8 +321,7 @@ class EntryController extends Controller | |||
321 | 321 | ||
322 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false); | 322 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false); |
323 | 323 | ||
324 | $entries = $this->get('wallabag_core.helper.prepare_pager_for_entries') | 324 | $entries = $this->get('wallabag_core.helper.prepare_pager_for_entries')->prepare($pagerAdapter); |
325 | ->prepare($pagerAdapter, $page); | ||
326 | 325 | ||
327 | try { | 326 | try { |
328 | $entries->setCurrentPage($page); | 327 | $entries->setCurrentPage($page); |