diff --git a/formulaires/joindre_document.php b/formulaires/joindre_document.php index cf40fc7adae700321a5af594ebae13ed14b21a31..878beed210e61d4fe1570f4188a00cf858bcf0da 100644 --- a/formulaires/joindre_document.php +++ b/formulaires/joindre_document.php @@ -84,7 +84,7 @@ function formulaires_joindre_document_charger_dist($id_document='new',$id_objet= $valeurs['refdoc_joindre'] = ''; if ($valeurs['editable']){ include_spip('inc/autoriser'); - $valeurs['editable'] = autoriser('modifier',$objet,$id_objet)?' ':''; + $valeurs['editable'] = autoriser('joindredocument',$objet,$id_objet)?' ':''; } }