[BUGFIX] Fix wrong hideTable check in SuggestWizard 45/48645/2
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 21 Jun 2016 20:21:00 +0000 (22:21 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 23 Jun 2016 14:18:10 +0000 (16:18 +0200)
Due to a regression in #67593 a wrong check is used which needs to be
fixed.

Resolves: #76722
Releases: master, 7.6
Change-Id: I6a0d1a95096c212354a64f66996c85b9789a47e7
Reviewed-on: https://review.typo3.org/48645
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Wizard/SuggestWizard.php

index dcd1330..ac915ae 100644 (file)
@@ -236,7 +236,7 @@ class SuggestWizard
      */
     protected function isTableHidden(array $tableConfig)
     {
-        return !$tableConfig['ctrl']['hideTable'];
+        return (bool)$tableConfig['ctrl']['hideTable'];
     }
 
     /**