From f0a2d7767a29dfd3fbe3274b1044f489a34c4943 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 7 May 2020 16:22:44 +0200 Subject: [PATCH] 087 import user de v9 --- core/module/config/config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/module/config/config.php b/core/module/config/config.php index 758d53be..133105d5 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -329,10 +329,10 @@ class config extends common { } // Préserver les comptes des utilisateurs d'une version 9 si option cochée // Positionnement d'une variable de session lue au constructeur + echo $version; if ($version === '9') { - $_SESSION['KEEP_USERS'] = $this->getInput('configRestoreImportUser', helper::FILTER_BOOLEAN); + $_SESSION['KEEP_USERS'] = $this->getInput('configManageImportUser', helper::FILTER_BOOLEAN); } - // Extraire le zip ou 'site/' $success = $zip->extractTo( 'site/' ); // Fermer l'archive @@ -510,7 +510,7 @@ class config extends common { if ($c1 > 0 || $c2 > 0) { $success = true; $this->setData(['page',$childId,'content', $replace ]); - $c3 += $c1 + c2; + $c3 += $c1 + $c2; } } }