From a1096af3de0ad22f7414f263ce00d7139f8fcd71 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 5 Jul 2023 18:00:20 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20membres=20le=20pro?= =?UTF-8?q?fil=20vaut=200=20pour=20les=20types=20membres=20et=20moderateur?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/include/update.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 67bf6b79..3b415798 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -985,7 +985,7 @@ if ($this->getData(['core', 'dataVersion']) < 12309) { } // Version 12.4.00 -if ($this->getData(['core', 'dataVersion']) < 12400) { +if ($this->getData(['core', 'dataVersion']) < 13000) { // Nettoyage du dossier de langue d'installation' if (file_exists('core/vendor/tinymce/langs/langs.zip')) @@ -1016,10 +1016,10 @@ if ($this->getData(['core', 'dataVersion']) < 12400) { $this->setData(['user', $userId, 'profil', 1]); break; default: - $this->setData(['user', $userId, 'profil', $this->getData(['user', $userId, 'group'])]); + $this->setData(['user', $userId, 'profil', 0]); break; } } // Mise à jour - $this->setData(['core', 'dataVersion', 12400]); + $this->setData(['core', 'dataVersion', 13000]); } \ No newline at end of file