From 354d9c56277cda06acae999c9d9c91c778fdbe7d Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 17 Nov 2020 09:48:21 +0100 Subject: [PATCH] commentaires --- module/blog/blog.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/blog/blog.php b/module/blog/blog.php index ebf0f953..930ecf81 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -89,6 +89,7 @@ class blog extends common { // Miniature $parts = explode('/',$this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'picture'])); $thumb = str_replace ($parts[(count($parts)-1)],'mini_' . $parts[(count($parts)-1)], $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'picture'])); + // Créer les articles du flux $newsArticle = $feeds->createNewItem(); $newsArticle->addElementArray([ 'title' => strip_tags($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'title']) ),