diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-09-23 09:13:34 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-09-23 09:13:34 +0200 |
commit | 57162494557c5eac938a7d6800ac1b112f73efc9 (patch) | |
tree | 0e0638166e8b734e17b9eb9a4c86d9008ed7be3d /src/Wallabag/CoreBundle/Controller/EntryController.php | |
parent | 1db9d411c5b1fe592788866dc206e2fd6dc87a71 (diff) | |
parent | d4ebe5c5dcf581416ab76136908cafbde78f63bf (diff) | |
download | wallabag-57162494557c5eac938a7d6800ac1b112f73efc9.tar.gz wallabag-57162494557c5eac938a7d6800ac1b112f73efc9.tar.zst wallabag-57162494557c5eac938a7d6800ac1b112f73efc9.zip |
Merge pull request #1429 from wallabag/v2-language
V2 – Handle language in entry
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/EntryController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index b9e4e67e..a9f35c36 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -192,7 +192,7 @@ class EntryController extends Controller | |||
192 | throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type)); | 192 | throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type)); |
193 | } | 193 | } |
194 | 194 | ||
195 | $form = $this->get('form.factory')->create(new EntryFilterType()); | 195 | $form = $this->get('form.factory')->create(new EntryFilterType($repository, $this->getUser())); |
196 | 196 | ||
197 | if ($request->query->has($form->getName())) { | 197 | if ($request->query->has($form->getName())) { |
198 | // manually bind values from the request | 198 | // manually bind values from the request |