aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-05-28 13:38:59 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-05-28 13:38:59 +0200
commitf41c840b8cbf6ed9f8f521274f5a023efe6892b0 (patch)
treedf04caf375f98b0e56a6fa6308e1cb8de39c6a50
parent2857aaa994c9d649c14bc2ea15f1ca58af8ab885 (diff)
downloadwallabag-f41c840b8cbf6ed9f8f521274f5a023efe6892b0.tar.gz
wallabag-f41c840b8cbf6ed9f8f521274f5a023efe6892b0.tar.zst
wallabag-f41c840b8cbf6ed9f8f521274f5a023efe6892b0.zip
Fix the deletion of Tags/Entries relation when delete an entry
Fix #2121
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php2
1 files changed, 1 insertions, 1 deletions
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
177 private $user; 177 private $user;
178 178
179 /** 179 /**
180 * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"}) 180 * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"})
181 * @ORM\JoinTable 181 * @ORM\JoinTable
182 * 182 *
183 * @Groups({"entries_for_user", "export_all"}) 183 * @Groups({"entries_for_user", "export_all"})