From 1b259818cb91024c5cac146ffe24ff244fff8f88 Mon Sep 17 00:00:00 2001 From: Jacco van der Post Date: Sun, 26 Feb 2023 14:20:40 +0100 Subject: [PATCH] 11.6.2 release Possible fix for #43 --- Classes/Controller/QuestionController.php | 2 +- Documentation/ChangeLog/Index.rst | 5 ++++- Documentation/Settings.cfg | 2 +- Documentation/Settings.yml | 2 +- ext_emconf.php | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Classes/Controller/QuestionController.php b/Classes/Controller/QuestionController.php index e869761..97fbd03 100644 --- a/Classes/Controller/QuestionController.php +++ b/Classes/Controller/QuestionController.php @@ -80,7 +80,7 @@ public function initializeAction(): void */ public function listAction(): ResponseInterface { - $restrictToCategories = $this->settings['questions']['categories']; + $restrictToCategories = (array)$this->settings['questions']['categories']; $excludeAlreadyDisplayedQuestions = (int)$this->settings['excludeAlreadyDisplayedQuestions']; $questions = $this->questionRepository->findQuestionsWithConstraints( $restrictToCategories, diff --git a/Documentation/ChangeLog/Index.rst b/Documentation/ChangeLog/Index.rst index 111b65f..3eca080 100644 --- a/Documentation/ChangeLog/Index.rst +++ b/Documentation/ChangeLog/Index.rst @@ -10,10 +10,13 @@ ChangeLog ========= +11.6.2 +""""" +#. Possible fix for bug excludeAlreadyDisplayedQuestions #43 + 11.6.1 """"" #. PHP 7.4 compatibility #41 (thx to Tobias Bünter) -#. Possible fix for bug excludeAlreadyDisplayedQuestions #43 11.6.0 """"" diff --git a/Documentation/Settings.cfg b/Documentation/Settings.cfg index 4da54d2..d1a87b9 100644 --- a/Documentation/Settings.cfg +++ b/Documentation/Settings.cfg @@ -1,6 +1,6 @@ [general] project = Frequently Asked Questions -release = 11.6.1 +release = 11.6.2 version = 11.6 copyright = 2023 diff --git a/Documentation/Settings.yml b/Documentation/Settings.yml index a99d34b..c238f03 100644 --- a/Documentation/Settings.yml +++ b/Documentation/Settings.yml @@ -7,7 +7,7 @@ conf.py: copyright: 2023 project: jpFAQ version: 11.6 - release: 11.6.1 + release: 11.6.2 intersphinx_mapping: t3tsref: - http://docs.typo3.org/typo3cms/TyposcriptReference/ diff --git a/ext_emconf.php b/ext_emconf.php index ae27d5c..23c7eec 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -7,7 +7,7 @@ 'author' => 'Jacco van der Post', 'author_email' => 'jacco@id-webdesign.nl', 'state' => 'stable', - 'version' => '11.6.1', + 'version' => '11.6.2', 'constraints' => [ 'depends' =>