1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Fix the deletion of Tags/Entries relation when delete an entry

Fix #2121
This commit is contained in:
Nicolas Lœuillet 2016-05-28 13:38:59 +02:00
parent 2857aaa994
commit f41c840b8c
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A

View file

@ -177,7 +177,7 @@ class Entry
private $user; private $user;
/** /**
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"}) * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"})
* @ORM\JoinTable * @ORM\JoinTable
* *
* @Groups({"entries_for_user", "export_all"}) * @Groups({"entries_for_user", "export_all"})