This commit is contained in:
Frank Schubert
2024-11-07 16:28:05 +01:00
parent bb02b67696
commit 6c0d334bbc
33 changed files with 172284 additions and 30 deletions

View File

@@ -119,14 +119,14 @@ class RimoWorkorderModel {
if(is_array($limit) && count($limit)) {
if(is_numeric($limit['start']) && is_numeric($limit['count'])) {
$sql .= " LIMIT ".$limit['start'].", ".$limit['count'];
} elseif(is_numeric($count)) {
} elseif(is_numeric($limit['count'])) {
$sql .= " LIMIT ".$limit['count'];
}
}
$res = $db->query($sql);
//mfLoghandler::singleton()->debug($sql);
mfLoghandler::singleton()->debug($sql);
if($db->num_rows($res)) {
while($data = $db->fetch_object($res)) {