diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 9b5d1f85..21c0b2c3 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -1044,7 +1044,7 @@ if ($this->getData(['core', 'dataVersion']) < 13000) { // Mise à jour des pages, le profil est mis à 0 pour les groupes sans profil et 1 pour es groupes avec profil $currentlanguage = $_SESSION['ZWII_CONTENT']; foreach ($languages as $langId) { - echo $langId; + foreach ($hierarchy as $parentKey => $parent) { switch ($this->getData(['page', $parent, 'group'])) { case 1: @@ -1057,7 +1057,7 @@ if ($this->getData(['core', 'dataVersion']) < 13000) { } } } - $_SESSION['ZWII_CONTENT'] = $currentlanguage ; + $_SESSION['ZWII_CONTENT'] = $currentlanguage; // Mise à jour $this->setData(['core', 'dataVersion', 13000]);