Project

General

Profile

Bug #21868 » 13064_v2.diff

Administrator Admin, 2009-12-19 16:21

View differences:

t3lib/class.t3lib_parsehtml_proc.php (working copy)
} 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('<br[[:space:]]*[\/]?>',$v);
$subLines = preg_split('/<br[[:space:]]*[\/]?>/i', $v);
}
// Traverse sublines (there is typically one, except if <br/> has been converted to lines as well!)
typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy)
}
// 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);
(2-2/2)