From 8e54ff8ebb67d79548dd793d5c18fb406955fc05 Mon Sep 17 00:00:00 2001 From: Markus Klein <markus.klein@typo3.org> Date: Thu, 21 Dec 2023 20:54:59 +0100 Subject: [PATCH] [BUGFIX] Avoid PHP warning when checking TCA hideTable Resolves: #102713 Releases: main, 12.4, 11.5 Change-Id: I18c841d9085221f4b6ff826600965b159af7971b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82245 Tested-by: core-ci <typo3@b13.com> Reviewed-by: Nikita Hovratov <nikita.h@live.de> Tested-by: Nikita Hovratov <nikita.h@live.de> --- .../Classes/Controller/Wizard/SuggestWizardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Controller/Wizard/SuggestWizardController.php b/typo3/sysext/backend/Classes/Controller/Wizard/SuggestWizardController.php index d464b37c8d40..5d4784d5c5c7 100644 --- a/typo3/sysext/backend/Classes/Controller/Wizard/SuggestWizardController.php +++ b/typo3/sysext/backend/Classes/Controller/Wizard/SuggestWizardController.php @@ -190,7 +190,7 @@ class SuggestWizardController */ protected function isTableHidden(array $tableConfig) { - return (bool)$tableConfig['ctrl']['hideTable']; + return (bool)($tableConfig['ctrl']['hideTable'] ?? false); } /** -- GitLab