diff --git a/traiter/email.php b/traiter/email.php index 6bbbe1f0c7b659273babbcb3e1058a9658b62d22..e3373b87a98a09826245c8126006a8e91f9e719c 100644 --- a/traiter/email.php +++ b/traiter/email.php @@ -7,7 +7,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { include_spip("inc/utils"); include_spip('inc/formidable_fichiers'); function traiter_email_dist($args, $retours) { - if (!isset($retours['fichier'])) { + if (!isset($retours['fichiers'])) { $retours['fichiers'] = array(); $ajouter_fichier = True; } else {