From c21214fe44d48ba299d57a1d4b81909f8cdcbb80 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 12 Sep 2023 21:29:46 +0200 Subject: [PATCH] Nom de fonction initData --- core/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index de781ec..d674114 100644 --- a/core/core.php +++ b/core/core.php @@ -352,7 +352,7 @@ class common if ( file_exists(self::DATA_DIR . self::$courseContent . '/' . $stageId . '.json') === false ) { - $this->saveCourse($stageId); + $this->initData($stageId); } } //} @@ -621,7 +621,7 @@ class common * Données valides : page ou module */ - public function saveCourse($module) + public function initData($module) { // Tableau avec les données vierges