diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php index cce241663..250d0b8d4 100644 --- a/src/Wallabag/CoreBundle/Controller/TagController.php +++ b/src/Wallabag/CoreBundle/Controller/TagController.php @@ -231,7 +231,8 @@ class TagController extends Controller * * @return \Symfony\Component\HttpFoundation\Response */ - public function removeTagAction(Tag $tag, Request $request) { + public function removeTagAction(Tag $tag, Request $request) + { foreach ($tag->getEntriesByUserId($this->getUser()->getId()) as $entry) { $this->get('wallabag_core.entry_repository')->removeTag($this->getUser()->getId(), $tag); }