[BUGFIX] No tab selected by default in User Settings
authorJigal van Hemert <jigal@xs4all.nl>
Wed, 4 Apr 2012 19:51:48 +0000 (21:51 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Wed, 4 Apr 2012 19:52:56 +0000 (21:52 +0200)
The call to getDynTabMenu had one parameter too much. Removing it
restores the normal functionality that the first tab is selected
by default.

Change-Id: I24eac1c343b662b2757c2c69ec1dd749b5ece344
Releases: 6.0, 4.7
Fixes: #35694
Reviewed-on: http://review.typo3.org/10157
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/setup/mod/index.php

index 03bde29..307e5d4 100755 (executable)
@@ -436,7 +436,7 @@ class SC_mod_user_setup_index {
                        // render the menu items
                $menuItems = $this->renderUserSetup();
 
-               $this->content .= $this->doc->getDynTabMenu($menuItems, 'user-setup', FALSE, FALSE, 0, 1, FALSE, 1, $this->dividers2tabs);
+               $this->content .= $this->doc->getDynTabMenu($menuItems, 'user-setup', FALSE, FALSE, 1, FALSE, 1, $this->dividers2tabs);
 
                $formToken = $this->formProtection->generateToken('BE user setup', 'edit');