Started creating workflow

This commit is contained in:
Frank Schubert
2021-08-24 21:40:30 +02:00
parent 7ad852c4ef
commit 2e9d5d5767
22 changed files with 717 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ class OrderModel {
$res = $db->select("Order", "*", "$where ORDER BY id");
}
if($db->num_rows($res)) {
while($data = $db->fetch_object()) {
while($data = $db->fetch_object($res)) {
$items[] = new Order($data);
}
}