diff --git a/core/module/page/page.php b/core/module/page/page.php index 3ab1fc66..ed5a859b 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -57,7 +57,7 @@ class page extends common { 'parents' => 'Le menu', 'children' => 'Le sous-menu de la page parente' ]; - public static $content = ''; + /** * Duplication diff --git a/core/module/page/view/edit/edit.php b/core/module/page/view/edit/edit.php index 82962df1..923ae399 100644 --- a/core/module/page/view/edit/edit.php +++ b/core/module/page/view/edit/edit.php @@ -96,7 +96,7 @@ echo template::formOpen('pageEditForm');
'editorWysiwyg', - 'value' => $module::$content + 'value' => file_get_contents(self::DATA_DIR . self::$i18n . '/content/' . $this->getData(['page', $this->getUrl(2), 'content'])) ]); ?>