From 19a60d9e768143284fb6fb41b53212378eb449f1 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 14 Oct 2023 15:04:52 +0200 Subject: [PATCH] corrige le fonction signature blog 7.2 --- module/blog/blog.php | 2 +- module/blog/changes.md | 2 ++ module/blog/view/index/index.php | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 89e6886f..03fd5b93 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -16,7 +16,7 @@ class blog extends common { - const VERSION = '7.1'; + const VERSION = '7.2'; const REALNAME = 'Blog'; const DELETE = true; const UPDATE = '0.0'; diff --git a/module/blog/changes.md b/module/blog/changes.md index 5ee383d3..129c9b63 100755 --- a/module/blog/changes.md +++ b/module/blog/changes.md @@ -1,3 +1,5 @@ +# Version 7.2 +- Problème avec la portée de la fonction signature déplacée # Version 7.1 - Permission lors de la validation d'un formulaire # Version 7.0 diff --git a/module/blog/view/index/index.php b/module/blog/view/index/index.php index d12c5bf8..41d5cfb3 100755 --- a/module/blog/view/index/index.php +++ b/module/blog/view/index/index.php @@ -26,7 +26,7 @@
- signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?> + signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?> getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nContent) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nContent); ?>
@@ -141,7 +141,7 @@
- signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?> + signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?> getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nContent) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn'], self::$i18nContent), self::$i18nContent); ?>