[BUGFIX] Followup to merge extra_page_cm_options into backend 98/32698/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 10 Sep 2014 08:40:49 +0000 (10:40 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 10 Sep 2014 08:58:59 +0000 (10:58 +0200)
Syntax error in line 298

Releases: 6.3
Resolves: #55136
Change-Id: I497e0e2b65b40a87ef1f8af205a0991b4dd92f74
Reviewed-on: http://review.typo3.org/32698
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php

index e663add..81d46a7 100644 (file)
@@ -294,8 +294,8 @@ class ClickMenu {
                                        if (isset($GLOBALS['TCA'][$table]['ctrl']['enablecolumns']['disabled'])) {
                                                $hiddenField = $GLOBALS['TCA'][$table]['ctrl']['enablecolumns']['disabled'];
                                                if (
-                                                       $hiddenField !== '' && !empty($GLOBALS['TCA'][$table]['columns'][$hiddenField]['exclude']
-                                                       && $GLOBALS['BE_USER']->check('non_exclude_fields', $table . ':' . $hiddenField))
+                                                       $hiddenField !== '' && !empty($GLOBALS['TCA'][$table]['columns'][$hiddenField]['exclude'])
+                                                       && $GLOBALS['BE_USER']->check('non_exclude_fields', $table . ':' . $hiddenField)
                                                ) {
                                                        $menuItemHideUnhideAllowed = TRUE;
                                                }
@@ -1502,4 +1502,4 @@ class ClickMenu {
                return $str . '.location';
        }
 
-}
+}
\ No newline at end of file