From 54cd7c5a7ed1d70d611fd3b4e3af76b23c60ea2b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 19 Sep 2022 14:21:15 +0200 Subject: [PATCH] =?UTF-8?q?Blog=205.4=20bug=20cr=C3=A9ation=20d'un=20artic?= =?UTF-8?q?le=20avec=20donn=C3=A9es=20de=20commentaire=20null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/blog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 2ebf9d8d..75aae16c 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -15,7 +15,7 @@ class blog extends common { - const VERSION = '5.3'; + const VERSION = '5.4'; const REALNAME = 'Blog'; const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) @@ -202,7 +202,7 @@ class blog extends common { $this->getUrl(0), 'posts', $articleId, [ - 'comment' => $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(2), 'comment']), + 'comment' => [], 'content' => $this->getInput('blogAddContent', null), 'picture' => $this->getInput('blogAddPicture', helper::FILTER_STRING_SHORT, true), 'hidePicture' => $this->getInput('blogAddHidePicture', helper::FILTER_BOOLEAN),