Merge changes
This commit is contained in:
commit
9b134dca40
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ class UserController extends AbstractController
|
||||||
{
|
{
|
||||||
$user = $this->getUser();
|
$user = $this->getUser();
|
||||||
|
|
||||||
$user->removeWish($wish);
|
$this->entityManager->remove($wish);
|
||||||
$this->entityManager->persist($wish);
|
$this->entityManager->persist($wish);
|
||||||
$this->entityManager->flush();
|
$this->entityManager->flush();
|
||||||
|
|
||||||
|
|
Reference in a new issue