From 823e1cfd0e47efede4a244b841574b979498b269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 16 Oct 2024 11:53:31 +0200 Subject: [PATCH] news 6 bug date --- module/news/view/article/article.php | 2 +- module/news/view/index/index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/news/view/article/article.php b/module/news/view/article/article.php index a82413f6..30953cf3 100644 --- a/module/news/view/article/article.php +++ b/module/news/view/article/article.php @@ -55,7 +55,7 @@
- +   ' . $this->getData(['module', $this->getUrl(0), 'config', 'feedsLabel']) . '

'; ?> diff --git a/module/news/view/index/index.php b/module/news/view/index/index.php index 6b3cdd0a..27169c3a 100644 --- a/module/news/view/index/index.php +++ b/module/news/view/index/index.php @@ -36,7 +36,7 @@ 'left']); ?> getData(['module', $this->getUrl(0), 'config', 'showDate']) === true): ?> - getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$i18nUI); ?> + getData(['module', $this->getUrl(0), 'posts', $newsId, 'publishedOn']), self::$i18nUI); ?> getData(['module', $this->getUrl(0), 'config', 'showDate']) === true @@ -45,7 +45,7 @@ getData(['module', $this->getUrl(0), 'config', 'showTime']) === true): ?> - getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$i18nUI); ?> + getData(['module', $this->getUrl(0), 'posts', $newsId, 'publishedOn']), self::$i18nUI); ?>