[+BUGFIX] Extbase: use 3rd parameter = TRUE of t3lib_div::trimExplode to split switch...
authorMarc Bastian Heinrichs <heinrichs@mbh-web.de>
Wed, 10 Nov 2010 22:34:12 +0000 (22:34 +0000)
committerMarc Bastian Heinrichs <heinrichs@mbh-web.de>
Wed, 10 Nov 2010 22:34:12 +0000 (22:34 +0000)
typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php

index 8e889ca..c5beb99 100644 (file)
@@ -191,7 +191,7 @@ class Tx_Extbase_Configuration_FrontendConfigurationManager extends Tx_Extbase_C
                if (isset($flexformConfiguration['switchableControllerActions']) && !is_array($flexformConfiguration['switchableControllerActions'])) {
 
                        // As "," is the flexform field value delimiter, we need to use ";" as in-field delimiter. That's why we need to replace ; by  , first.
-                       $switchableControllerActionPartsFromFlexform = t3lib_div::trimExplode(',', str_replace(';', ',', $flexformConfiguration['switchableControllerActions']));
+                       $switchableControllerActionPartsFromFlexform = t3lib_div::trimExplode(',', str_replace(';', ',', $flexformConfiguration['switchableControllerActions']), TRUE);
 
                        $newSwitchableControllerActionsFromFlexform = array();
                        foreach ($switchableControllerActionPartsFromFlexform as $switchableControllerActionPartFromFlexform) {