From 6a1fcbb82015fe9f1b757e06f3976b606effe756 Mon Sep 17 00:00:00 2001 From: "guy.cesaro@gmail.com" <> Date: Tue, 12 Apr 2011 13:02:11 +0000 Subject: [PATCH] =?UTF-8?q?remplacer=20accepte=5Ffichier=5Fupload(..)=20qu?= =?UTF-8?q?i=20n'existe=20plus=20par=20is=5Farray(verifier=5Fupload=5Fauto?= =?UTF-8?q?rise(..)).=20Mais=20ca=20ne=20r=C3=A9pare=20pas=20l'upload=20en?= =?UTF-8?q?=20decompressant=20un=20zip.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/joindre_document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/joindre_document.php b/inc/joindre_document.php index 6420512d..d5d44593 100644 --- a/inc/joindre_document.php +++ b/inc/joindre_document.php @@ -238,7 +238,7 @@ function joindre_decrire_contenu_zip($zip) { $fichiers = array(); $erreurs = array(); foreach ($list as $file) { - if (accepte_fichier_upload($f = $file['stored_filename'])) + if (is_array(verifier_upload_autorise(($f = $file['stored_filename']))) $fichiers[$f] = $file; else // pas de message pour les dossiers et fichiers caches -- GitLab