Blog 5.4 bug création d'un article avec données de commentaire null
This commit is contained in:
parent
800818c9b0
commit
54cd7c5a7e
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
class blog extends common {
|
class blog extends common {
|
||||||
|
|
||||||
const VERSION = '5.3';
|
const VERSION = '5.4';
|
||||||
const REALNAME = 'Blog';
|
const REALNAME = 'Blog';
|
||||||
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ class blog extends common {
|
|||||||
$this->getUrl(0),
|
$this->getUrl(0),
|
||||||
'posts',
|
'posts',
|
||||||
$articleId, [
|
$articleId, [
|
||||||
'comment' => $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(2), 'comment']),
|
'comment' => [],
|
||||||
'content' => $this->getInput('blogAddContent', null),
|
'content' => $this->getInput('blogAddContent', null),
|
||||||
'picture' => $this->getInput('blogAddPicture', helper::FILTER_STRING_SHORT, true),
|
'picture' => $this->getInput('blogAddPicture', helper::FILTER_STRING_SHORT, true),
|
||||||
'hidePicture' => $this->getInput('blogAddHidePicture', helper::FILTER_BOOLEAN),
|
'hidePicture' => $this->getInput('blogAddHidePicture', helper::FILTER_BOOLEAN),
|
||||||
|
Loading…
Reference in New Issue
Block a user