From 23757e3fbc5b1b3c13b7929fbaaeb692fbdb6abf Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 19 Oct 2020 09:22:56 +0200 Subject: [PATCH] Champ d'import manquant --- core/core.php | 2 +- core/module/user/user.php | 7 ++++++- core/module/user/view/import/import.php | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 81709e99..c0125db3 100644 --- a/core/core.php +++ b/core/core.php @@ -43,7 +43,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.4.00'; + const ZWII_VERSION = '10.4.00a'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/module/user/user.php b/core/module/user/user.php index 0f9eeb3d..975b822e 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -594,7 +594,12 @@ class user extends common { AND array_key_exists('prenom',$item) AND array_key_exists('nom',$item) AND array_key_exists('groupe',$item) - AND array_key_exists('email',$item) ) { + AND array_key_exists('email',$item) + AND $item['nom'] + AND $item['prenom'] + AND $item['id'] + AND $item['email'] + AND $item['groupe']) { // L'utilisateur existe if ( $this->getData(['user',helper::filter($item['id'] , helper::FILTER_ID)])) { diff --git a/core/module/user/view/import/import.php b/core/module/user/view/import/import.php index 7364775b..051aabba 100644 --- a/core/module/user/view/import/import.php +++ b/core/module/user/view/import/import.php @@ -56,7 +56,7 @@
- Compte créé | Compte créé et notifié | Erreur + Compte créé | Compte créé et notifié | ou manquant : erreur, compte non importé
\ No newline at end of file