Project

General

Profile

Bug #22153 » patch-22153-2.diff

Franz Holzinger, 2013-05-24 22:38

View differences:

/run/media/franz/Transcend/Téléchargement/TYPO3/typo3_src-6.0.6#22153/typo3/sysext/core/Classes/Database/DatabaseConnection.php 2013-05-24 22:22:46.000000000 +0200
if (preg_match('/^(.*)[[:space:]]+LIMIT[[:space:]]+([[:alnum:][:space:],._]+)$/i', $str, $reg)) {
$wgolParts['LIMIT'] = trim($reg[2]);
$str = $reg[1];
} else {
$wgolParts['LIMIT'] = 1000; // you never have more than 1000 records in a select box
}
// Find ORDER BY
$reg = array();
(4-4/4)