diff --git a/apps/maarch_entreprise/actions/sendToExternalSignatureBook.php b/apps/maarch_entreprise/actions/sendToExternalSignatureBook.php index 8c46540d5fb1bdafe44b05337650d2d0281f9675..b49c09c9d40f0a3efc3f1e41f104b46a4585a294 100644 --- a/apps/maarch_entreprise/actions/sendToExternalSignatureBook.php +++ b/apps/maarch_entreprise/actions/sendToExternalSignatureBook.php @@ -154,7 +154,7 @@ function manage_form($arr_id, $history, $id_action, $label_action, $status, $col } } - if($attachmentToFreeze !== false) { + if (!empty($attachmentToFreeze)) { foreach ($attachmentToFreeze as $resId => $externalId) { \Attachment\models\AttachmentModel::freezeAttachment([ 'resId' => $resId,