Follow-up to bug #10231: Fixed wrong pattern conversions from split() to preg_split()
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_matchcondition.php
index 8278e7d..03b1ed7 100644 (file)
@@ -361,7 +361,7 @@ class t3lib_matchCondition {
                                return t3lib_div::compat_version($value);
                        break;
                        case 'userFunc':
-                               $values = preg_split('/[\(\)]/', $value);
+                               $values = preg_split('/\(|\)/', $value);
                                $funcName = trim($values[0]);
                                $funcValue = t3lib_div::trimExplode(',', $values[1]);
                                $pre = $GLOBALS['TSFE']->TYPO3_CONF_VARS['FE']['userFuncClassPrefix'];