diff --git a/core/module/page/page.php b/core/module/page/page.php index c917729a..788187ee 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -576,7 +576,7 @@ class page extends common if (!is_dir(self::DATA_DIR . self::$siteContent . '/content')) { mkdir(self::DATA_DIR . self::$siteContent . '/content', 0755); } - $content = empty($this->getInput('pageEditContent', null)) ? '

' : str_replace('

', '

 

', $this->getInput('pageEditContent', null)); + $content = empty($this->getInput('pageEditWysiwyg', null)) ? '

' : str_replace('

', '

 

', $this->getInput('pageEditWysiwyg', null)); $this->setPage($pageId, $content, self::$siteContent); // Met à jour le sitemap diff --git a/core/module/page/view/edit/edit.php b/core/module/page/view/edit/edit.php index 2933bfc6..aa475893 100644 --- a/core/module/page/view/edit/edit.php +++ b/core/module/page/view/edit/edit.php @@ -119,7 +119,7 @@ echo '>';
- 'editorWysiwyg', 'value' => $this->getPage($this->getUrl(2), self::$siteContent) ]); ?>