[BUGFIX] Avoid reserved "sections" variable name in install tool All Configuration 47/46447/2
authorClaus Due <claus@namelesscoder.net>
Tue, 2 Feb 2016 11:29:31 +0000 (12:29 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 3 Feb 2016 14:25:40 +0000 (15:25 +0100)
Avoiding the reserved variable name avoids the issue.

Change-Id: I1262a645366680628742e2ee547797bd4c5914ec
Releases: master
Resolves: #73080
Reviewed-on: https://review.typo3.org/46447
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/install/Classes/Controller/Action/Tool/AllConfiguration.php
typo3/sysext/install/Resources/Private/Partials/Action/Tool/AllConfiguration/SubSection.html

index 691c057..5658e15 100644 (file)
@@ -47,7 +47,7 @@ class AllConfiguration extends Action\AbstractAction
             $this->view->assign('configurationValuesSaved', true);
             $this->view->assign('savedConfigurationValueMessages', $this->updateLocalConfigurationValues());
         } else {
-            $this->view->assign('sections', $this->getSpeakingSectionNames());
+            $this->view->assign('sectionNames', $this->getSpeakingSectionNames());
             $this->view->assign('data', $this->setUpConfigurationData());
         }
 
index 4597a43..6e2d402 100644 (file)
@@ -5,7 +5,7 @@
                <h3 class="panel-title">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{sectionName}" aria-expanded="true" aria-controls="collapse{sectionName}" class="collapsed">
                                <span class="caret"></span>
-                               <strong><i:object.arrayValueByKey array="{sections}" key="{sectionName}" /></strong> [{sectionName}]
+                               <strong><i:object.arrayValueByKey array="{sectionNames}" key="{sectionName}" /></strong> [{sectionName}]
                        </a>
                </h3>
        </div>