1.10.07 Mise à jour du module BLOG

This commit is contained in:
Fred Tempez 2024-08-01 19:16:04 +02:00
parent 893db4034d
commit f3baa75041
4 changed files with 6 additions and 4 deletions

View File

@ -51,7 +51,7 @@ class common
const ACCESS_TIMER = 1800;
// Numéro de version
const ZWII_VERSION = '1.10.06';
const ZWII_VERSION = '1.10.07';
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';

View File

@ -16,7 +16,7 @@
class blog extends common
{
const VERSION = '7.9';
const VERSION = '7.10';
const REALNAME = 'Blog';
const DELETE = true;
const UPDATE = '0.0';
@ -757,7 +757,7 @@ class blog extends common
}
// Crée le commentaire
$commentId = helper::increment(uniqid(), $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'comment']));
$content = $this->getInput('blogArticleContent', false);
$content = $this->getInput('blogArticleContent', null, true);
$this->setData([
'module', $this->getUrl(0),
'posts', $this->getUrl(1),

View File

@ -1,4 +1,6 @@
# Versions 7.10
- Empêche la validation d'un commentaire lorsque le contenu est vide.
# Versions 7.8 - 7.9
- Le flux RSS ne fonctionne pas si les méta de la page sont vides.
# Version 7.7

View File

@ -1 +1 @@
{"name":"blog","realName":"Blog","version":"7.2","update":"0.0","delete":true,"dataDirectory":""}
{"name":"blog","realName":"Blog","version":"7.10","update":"0.0","delete":true,"dataDirectory":""}