Update src/Wallabag/CoreBundle/Controller/TagController.php

Co-authored-by: Jérémy Benoist <j0k3r@users.noreply.github.com>
This commit is contained in:
Michael Ciociola 2022-12-23 11:03:25 -06:00 committed by GitHub
parent fbccae8a79
commit 97fee36fa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,8 +251,6 @@ class TagController extends Controller
$em->flush();
}
$redirectUrl = $this->get(Redirect::class)->to($request->headers->get('referer'), '', true);
return $this->redirect($this->get(Redirect::class)->to($request->getSession()->get('prevUrl'), '', true));
}
}