From c9cff9283b56b1ff99fa135443c09f3bf922e5a0 Mon Sep 17 00:00:00 2001 From: tofulm Date: Wed, 29 Apr 2020 23:27:06 +0200 Subject: [PATCH] Coquille --- formulaires/gamumail.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/formulaires/gamumail.php b/formulaires/gamumail.php index f0f2ae7..db2a875 100644 --- a/formulaires/gamumail.php +++ b/formulaires/gamumail.php @@ -40,10 +40,12 @@ function formulaires_gamumail_charger_dist($slug, $auteur = 0, $Tclient = [], $T } } + var_dump($Tpdf); + $TFichierPdf = []; if (is_array($Tpdf) and count($Tpdf)) { if (array_key_exists('fichier', $Tpdf)) { - $TFichierPdf = [$Tpdf]; + $Tpdf = [$Tpdf]; } foreach ($Tpdf as $pdf) { $TFichierPdf[] = $pdf['fichier'];