This commit is contained in:
Nicolas Lœuillet 2022-06-14 17:22:55 +02:00 committed by Jeremy Benoist
parent 4feca1ccd5
commit 086b3dda88
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -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);
}