[BUGFIX] PHP warning on each Extension Manager invocation
authorDmitry Dulepov <dmitry@typo3.org>
Thu, 6 Oct 2011 07:48:04 +0000 (10:48 +0300)
committerSteffen Gebert <steffen.gebert@typo3.org>
Fri, 7 Oct 2011 17:49:17 +0000 (19:49 +0200)
Extension manager produces a PHP warning on each invocation due to
incorrect parameters passed to t3lib_div::trimExplode().

Change-Id: I7bfd31677efb3cef07c0752486071e00d9ce889e
Resolves: #30598
Releases: 4.6
Reviewed-on: http://review.typo3.org/5581
Reviewed-by: Markus Klein
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/em/classes/class.tx_em_extensionmanager.php

index 84dd6a4..d424c72 100644 (file)
@@ -136,7 +136,7 @@ class tx_em_ExtensionManager {
                if (!is_array($globalSettings)) {
                        $globalSettings = array(
                                'displayMyExtensions' => 0,
-                               'selectedLanguages' => array(),
+                               'selectedLanguages' => '',
                                'inlineToWindow' => 1,
                        );
                }