diff --git a/bigform_autorisations.php b/bigform_autorisations.php index 8894ff1..af12c07 100644 --- a/bigform_autorisations.php +++ b/bigform_autorisations.php @@ -26,9 +26,7 @@ function autoriser_document_charger_dist($faire, $type, $id, $qui, $opt) { } function autoriser_document_dissociersupprimer_dist($faire, $type, $id, $qui, $opt) { - if (!intval($id) - or !$qui['id_auteur'] - ) { + if (!intval($id) or !intval($qui['id_auteur'])) { return false; }