diff --git a/action/dissocier_document.php b/action/dissocier_document.php
index aff3f96d9f54b1f3ce003fa971a25cb7f5d720a8..4ee01cb048f2cf4218ec3798bcc242a3c4639bc4 100644
--- a/action/dissocier_document.php
+++ b/action/dissocier_document.php
@@ -91,7 +91,7 @@ function supprimer_lien_document($id_document, $objet, $id_objet, $supprime = fa
 
 	// D'abord on ne supprime pas, on dissocie
 	include_spip('action/editer_liens');
-	objet_dissocier(array('document' => $id_document), array($objet => $id_objet));
+	objet_dissocier(array('document' => $id_document), array($objet => $id_objet), array('role' => '*'));
 
 	// Si c'est une vignette, l'eliminer du document auquel elle appartient
 	// cas tordu peu probable
diff --git a/action/supprimer_document.php b/action/supprimer_document.php
index d59d631787e61402f9d6ea28c169e31f74d34891..026b8c969f05cb7ccf76184e415063ac41e4d215 100644
--- a/action/supprimer_document.php
+++ b/action/supprimer_document.php
@@ -57,7 +57,7 @@ function action_supprimer_document_dist($id_document = 0) {
 	}
 
 	// dereferencer dans la base
-	objet_dissocier(array('document' => $id_document), '*');
+	objet_dissocier(array('document' => $id_document), '*', array('role' => '*'));
 	sql_delete('spip_documents', 'id_document=' . intval($id_document));
 
 
diff --git a/paquet.xml b/paquet.xml
index 34094df5d0a67c43289c16de0eccd920c867a2f6..1245cca907531cf45edf71408d34c4aa5b12dfb0 100644
--- a/paquet.xml
+++ b/paquet.xml
@@ -1,7 +1,7 @@
 <paquet
 	prefix="medias"
 	categorie="multimedia"
-	version="2.13.2"
+	version="2.14.0"
 	etat="stable"
 	compatibilite="[3.2.0-dev;]"
 	logo="prive/themes/spip/images/portfolio-32.png"