From: Nicolas LÅ“uillet Date: Sat, 28 May 2016 11:38:59 +0000 (+0200) Subject: Fix the deletion of Tags/Entries relation when delete an entry X-Git-Tag: 2.0.5~2^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f41c840b8cbf6ed9f8f521274f5a023efe6892b0;p=github%2Fwallabag%2Fwallabag.git Fix the deletion of Tags/Entries relation when delete an entry Fix #2121 --- diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 1271f1f5..84981414 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php @@ -177,7 +177,7 @@ class Entry private $user; /** - * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"}) + * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"}) * @ORM\JoinTable * * @Groups({"entries_for_user", "export_all"})