aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/TagController.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-12-14 11:54:30 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-12-15 21:38:16 +0100
commit21e7ccef3d960f4747d58fc0c9e081618e9451eb (patch)
tree295c0af56ecaaf9202618d14b67244da373e5f99 /src/Wallabag/CoreBundle/Controller/TagController.php
parent202a66ce02bf42743e66fbc1ea1dbfe5b6a1c83a (diff)
downloadwallabag-21e7ccef3d960f4747d58fc0c9e081618e9451eb.tar.gz
wallabag-21e7ccef3d960f4747d58fc0c9e081618e9451eb.tar.zst
wallabag-21e7ccef3d960f4747d58fc0c9e081618e9451eb.zip
Fix tests & deprecation notice
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/TagController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/TagController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php
index a3e70fd0..52707cb8 100644
--- a/src/Wallabag/CoreBundle/Controller/TagController.php
+++ b/src/Wallabag/CoreBundle/Controller/TagController.php
@@ -27,7 +27,7 @@ class TagController extends Controller
27 $form = $this->createForm(NewTagType::class, new Tag()); 27 $form = $this->createForm(NewTagType::class, new Tag());
28 $form->handleRequest($request); 28 $form->handleRequest($request);
29 29
30 if ($form->isValid()) { 30 if ($form->isSubmitted() && $form->isValid()) {
31 $this->get('wallabag_core.content_proxy')->assignTagsToEntry( 31 $this->get('wallabag_core.content_proxy')->assignTagsToEntry(
32 $entry, 32 $entry,
33 $form->get('label')->getData() 33 $form->get('label')->getData()