on filtre l'array pour ne garder que si on a la cle saisie
This commit is contained in:
parent
f2a2c7c5f4
commit
841db7c8b1
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue