diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index 4e02fa8..899a140 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -77,7 +77,6 @@ class UserController extends AbstractController $user = $this->getUser(); $this->entityManager->remove($wish); - $this->entityManager->persist($wish); $this->entityManager->flush(); $this->addFlash("success", "Successfully removed the wish!");