Project

General

Profile

Bug #22153 » 13603-2.diff

Administrator Admin, 2010-02-22 14:30

View differences:

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:
(2-2/4)