diff --git a/CHANGELOG.md b/CHANGELOG.md index ef5fa9c..1048e27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.3.1 - 2023.06.17 +- require dotclear 2.26 +- fix php7.4 compatibility + 1.3 - 2023.05.13 - require dotclear 2.26 - some fixes for dotclear 2.26 stable diff --git a/_define.php b/_define.php index 6f2840d..8bb71d6 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Feed after content', 'Add RSS/Atom feeds after entries content', 'Jean-Christian Denis and Contributors', - '1.3', + '1.3.1', [ 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ diff --git a/dcstore.xml b/dcstore.xml index 032274b..94e4bae 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Feed after content - 1.3 + 1.3.1 Jean-Christian Denis and Contributors Add RSS/Atom feeds after entries content - https://github.com/JcDenis/fac/releases/download/v1.3/plugin-fac.zip + https://github.com/JcDenis/fac/releases/download/v1.3.1/plugin-fac.zip 2.26 https://plugins.dotaddict.org/dc2/details/fac https://github.com/JcDenis/fac diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index b96bf44..081877d 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -413,7 +413,7 @@ class BackendBehaviors * @param integer $post_id Post id * @param array|ArrayObject $options Feed options */ - protected static function addFeed(int $post_id, array|ArrayObject $options): void + protected static function addFeed(int $post_id, $options): void { if (empty($options['fac_url']) || empty($options['fac_format'])) {