LIMIT is now working properly.
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user