aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-01-20 18:35:57 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-20 18:35:57 +0100
commit7e808615885084a32e6be4ec3401f0fa288f4e1d (patch)
tree6794dfaa7e54b6609009bcf0ec41e811596a1157
parentd481f42b7d383eb6211d1d3049d1a2c8288d9edb (diff)
downloadwallabag-7e808615885084a32e6be4ec3401f0fa288f4e1d.tar.gz
wallabag-7e808615885084a32e6be4ec3401f0fa288f4e1d.tar.zst
wallabag-7e808615885084a32e6be4ec3401f0fa288f4e1d.zip
Remove tag relation when removing an entry
Fix #1453
-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 24b24dbb..bf8db5ab 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -168,7 +168,7 @@ class Entry
168 private $user; 168 private $user;
169 169
170 /** 170 /**
171 * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"}) 171 * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"})
172 * @ORM\JoinTable 172 * @ORM\JoinTable
173 * 173 *
174 * @Groups({"entries_for_user", "export_all"}) 174 * @Groups({"entries_for_user", "export_all"})