[FOLLOWUP][BUGFIX] Show first tab in Element Wizard as fallback 01/42801/2
authorMarkus Klein <markus.klein@typo3.org>
Fri, 21 Aug 2015 07:44:10 +0000 (09:44 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 21 Aug 2015 07:52:50 +0000 (09:52 +0200)
A wrong variable initialization is fixed.

Resolves: #59810
Releases: master, 6.2
Change-Id: Ied65743326e52e7e56e24a19db57ba40f6b4be47
Reviewed-on: http://review.typo3.org/42801
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php

index d5acf6b..63f5925 100644 (file)
@@ -456,7 +456,7 @@ class PageLayoutController {
                        ');
                        $this->doc->JScode .= $this->doc->wrapScriptTags('
                                var DTM_array = [];
-                               var DTM_origClass = [];
+                               var DTM_origClass = "";
 
                                        // if tabs are used in a popup window the array might not exists
                                if(!top.DTM_currentTabs) {