]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix the deletion of Tags/Entries relation when delete an entry
authorNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 28 May 2016 11:38:59 +0000 (13:38 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 28 May 2016 11:38:59 +0000 (13:38 +0200)
Fix #2121

src/Wallabag/CoreBundle/Entity/Entry.php

index 1271f1f5f2657941c497f47f07b18a468db402ca..84981414a639e81da28d209758d36bd6fefb7787 100644 (file)
@@ -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"})