forked from ZwiiCMS-Team/ZwiiCMS
Bug commentaires du blog
This commit is contained in:
parent
185a3993db
commit
c319240444
@ -1,6 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
|
||||
## Version 10.3.12
|
||||
Correction :
|
||||
- Impossibilité de lister les commentaires des articles de blog dans la fenêtre de gestion.
|
||||
|
||||
## Version 10.3.11
|
||||
Modification :
|
||||
- Message sur l'utilisation des cookies
|
||||
|
@ -1,6 +1,6 @@
|
||||
![](https://img.shields.io/github/last-commit/fredtempez/ZwiiCMS/master) ![](https://img.shields.io/github/release-date/fredtempez/ZwiiCMS)
|
||||
|
||||
# ZwiiCMS 10.3.11
|
||||
# ZwiiCMS 10.3.12
|
||||
|
||||
Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.
|
||||
|
||||
|
@ -40,7 +40,7 @@ class common {
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.3.11';
|
||||
const ZWII_VERSION = '10.3.12';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
|
@ -52,7 +52,7 @@ class blog extends common {
|
||||
|
||||
public static $users = [];
|
||||
|
||||
const BLOG_VERSION = '2.10';
|
||||
const BLOG_VERSION = '2.11';
|
||||
|
||||
/**
|
||||
* Flux RSS
|
||||
@ -159,7 +159,7 @@ class blog extends common {
|
||||
public function comment() {
|
||||
// Liste les commentaires
|
||||
$comments = [];
|
||||
foreach((array) $this->getData(['module', $this->getUrl(0)]) as $articleId => $article) {
|
||||
foreach((array) $this->getData(['module', $this->getUrl(0), 'posts']) as $articleId => $article) {
|
||||
foreach($article['comment'] as &$comment) {
|
||||
$comment['articleId'] = $articleId;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user