Bug #22153 » 13603-2.diff
t3lib/class.t3lib_db.php (copie de travail) | ||
---|---|---|
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:
|