From a4a2973dc4534a6c2042c75ac35a1c1fa45afa3a Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 13 Oct 2020 19:07:10 +0200 Subject: [PATCH] coquilles --- module/blog/blog.php | 2 +- module/blog/view/edit/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 864411b3..9987f67a 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -453,7 +453,7 @@ class blog extends common { 'title' => $this->getInput('blogEditTitle', helper::FILTER_STRING_SHORT, true), 'userId' => $newuserid, 'editConsent' => $this->getInput('blogEditConsent') === self::EDIT_GROUP ? $this->getUser('group') : self::EDIT_OWNER, - 'commentMaxlength' => $this->getInput('blogEditCommentMaxength'), + 'commentMaxlength' => $this->getInput('blogEditCommentMaxlength'), 'commentApproved' => $this->getInput('blogEditCommentApproved', helper::FILTER_BOOLEAN), 'commentClose' => $this->getInput('blogEditCommentClose', helper::FILTER_BOOLEAN), 'commentNotification' => $this->getInput('blogEditCommentNotification', helper::FILTER_BOOLEAN), diff --git a/module/blog/view/edit/edit.php b/module/blog/view/edit/edit.php index 10402bce..492dbc46 100644 --- a/module/blog/view/edit/edit.php +++ b/module/blog/view/edit/edit.php @@ -115,7 +115,7 @@
$this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'commentApprove']), + 'checked' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'commentApproved']), '' ]); ?>