diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index bd32b32c..32d8984d 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -309,7 +309,7 @@ class init extends common 'comment' => 'Accède au site', ], '1' => [ - '0' => [ + '1' => [ 'name' => 'Membre simple', 'readonly' => false, 'comment' => 'Accède aux pages réservées', @@ -386,7 +386,7 @@ class init extends common 'config' => false, ] ], - '1' => [ + '2' => [ 'name' => 'Membre', 'readonly' => false, 'comment' => 'Accède aux pages réservées et à un dossier partagé', @@ -468,7 +468,7 @@ class init extends common ], ], '2' => [ - '0' => [ + '1' => [ 'name' => 'Modérateur', 'readonly' => false, 'comment' => 'Edition des pages', @@ -546,7 +546,7 @@ class init extends common 'config' => true, ] ], - '1' => [ + '2' => [ 'name' => 'Editeur avec gestion des fichiers', 'readonly' => false, 'comment' => 'Edition des pages', diff --git a/core/module/user/user.php b/core/module/user/user.php index eb1f0220..14dc9db9 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -542,8 +542,6 @@ class user extends common } // Soumission du formulaire - var_dump( $this->getInput('profilEditGroup',helper::FILTER_STRING_LONG) ); - var_dump( $this->getInput('profilEditProfil',helper::FILTER_STRING_LONG) ); if ($this->isPost()) { $this->setData([ 'profil',