LIMIT is now working properly.

This commit is contained in:
stronk7
2003-08-03 21:49:19 +00:00
parent 5a24a01868
commit 74a0363f0c
+1 -1
View File
@@ -373,7 +373,7 @@ function get_records($table, $field="", $value="", $sort="", $fields="*", $limit
$select = "";
}
if ($limitfrom) {
if ($limitfrom !== "") {
switch ($CFG->dbtype) {
case "mysql":
$limit = "LIMIT $limitfrom,$limitnum";