Index: typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc =================================================================== --- typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc (revision 8863) +++ typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc (working copy) @@ -401,7 +401,7 @@ foreach ($this->conf['parseValues.'] as $theField => $theValue) { $listOfCommands = t3lib_div::trimExplode(',',$theValue,1); foreach ($listOfCommands as $cmd) { - $cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. + $cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. $theCmd=trim($cmdParts[0]); switch($theCmd) { case 'int': @@ -653,7 +653,7 @@ foreach ($this->conf[$this->cmdKey.'.']['evalValues.'] as $theField => $theValue) { $listOfCommands = t3lib_div::trimExplode(',',$theValue,1); foreach ($listOfCommands as $cmd) { - $cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. + $cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. $theCmd = trim($cmdParts[0]); switch($theCmd) { case 'uniqueGlobal': @@ -1207,7 +1207,7 @@ foreach ($this->conf[$this->cmdKey.'.']['evalValues.'] as $theField => $theValue) { $listOfCommands = t3lib_div::trimExplode(',',$theValue,1); foreach ($listOfCommands as $cmd) { - $cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. + $cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. $theCmd = trim($cmdParts[0]); switch($theCmd) { case 'twice': @@ -1226,7 +1226,7 @@ foreach ($this->conf['parseValues.'] as $theField => $theValue) { $listOfCommands = t3lib_div::trimExplode(',',$theValue,1); foreach ($listOfCommands as $cmd) { - $cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. + $cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array. $theCmd = trim($cmdParts[0]); switch($theCmd) { case 'multiple':