release 1.3.1

This commit is contained in:
Jean-Christian Denis 2023-06-17 11:17:30 +02:00
parent 9690644d9e
commit 5b5010edbc
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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([

View file

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="fac">
<name>Feed after content</name>
<version>1.3</version>
<version>1.3.1</version>
<author>Jean-Christian Denis and Contributors</author>
<desc>Add RSS/Atom feeds after entries content</desc>
<file>https://github.com/JcDenis/fac/releases/download/v1.3/plugin-fac.zip</file>
<file>https://github.com/JcDenis/fac/releases/download/v1.3.1/plugin-fac.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/fac</da:details>
<da:support>https://github.com/JcDenis/fac</da:support>

View file

@ -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'])) {