Coquille
This commit is contained in:
parent
8bc5c54646
commit
c9cff9283b
1 changed files with 3 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Reference in a new issue