aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-15 21:31:13 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-12-15 21:38:16 +0100
commit6ad8aabb83581fdc978d0cea81be8e776a3b7198 (patch)
treee4e218b49b25da67dd98fd1496b4bb41c98aa678 /src
parent21e7ccef3d960f4747d58fc0c9e081618e9451eb (diff)
downloadwallabag-6ad8aabb83581fdc978d0cea81be8e776a3b7198.tar.gz
wallabag-6ad8aabb83581fdc978d0cea81be8e776a3b7198.tar.zst
wallabag-6ad8aabb83581fdc978d0cea81be8e776a3b7198.zip
Fixed search bug
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index 9ed1cb12..ff6f564e 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -278,7 +278,7 @@ class EntryController extends Controller
278 { 278 {
279 $repository = $this->get('wallabag_core.entry_repository'); 279 $repository = $this->get('wallabag_core.entry_repository');
280 $searchTerm = (isset($request->get('search_entry')['term']) ? $request->get('search_entry')['term'] : ''); 280 $searchTerm = (isset($request->get('search_entry')['term']) ? $request->get('search_entry')['term'] : '');
281 $currentRoute = (!is_null($request->get('currentRoute')) ? $request->get('currentRoute') : ''); 281 $currentRoute = (!is_null($request->query->get('currentRoute')) ? $request->query->get('currentRoute') : '');
282 282
283 switch ($type) { 283 switch ($type) {
284 case 'search': 284 case 'search':