diff --git a/gamuform_fonctions.php b/gamuform_fonctions.php index bd2e54e..4fb6d10 100644 --- a/gamuform_fonctions.php +++ b/gamuform_fonctions.php @@ -31,6 +31,9 @@ function gamuform_recup_saisies(string $objet):array { if (empty($T)) { $T = []; } + $T = array_filter($T, function($d){ + return !empty($d['saisie']); + }); return $T; }