Index: t3lib/class.t3lib_parsehtml_proc.php
===================================================================
--- t3lib/class.t3lib_parsehtml_proc.php (revision 6683)
+++ t3lib/class.t3lib_parsehtml_proc.php (working copy)
@@ -1240,7 +1240,7 @@
} else { //... but if NO subsection was found, we process it as a TRUE line without erronous content:
$subLines = array($subLines);
if (!$this->procOptions['dontConvBRtoParagraph']) { // process break-tags, if configured for. Simply, the breaktags will here be treated like if each was a line of content...
- $subLines = spliti('
',$v);
+ $subLines = preg_split('/
/i', $v);
}
// Traverse sublines (there is typically one, except if
has been converted to lines as well!)
Index: typo3/sysext/cms/tslib/class.tslib_pibase.php
===================================================================
--- typo3/sysext/cms/tslib/class.tslib_pibase.php (revision 6683)
+++ typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy)
@@ -1067,7 +1067,7 @@
}
// Split the "FROM ... WHERE" string so we get the WHERE part and TABLE names separated...:
- list($TABLENAMES,$WHERE) = spliti('WHERE', trim($query), 2);
+ list($TABLENAMES, $WHERE) = preg_split('/WHERE/i', trim($query), 2);
$TABLENAMES = trim(substr(trim($TABLENAMES),5));
$WHERE = trim($WHERE);