Only Admin and netoperator can set order finished

This commit is contained in:
Frank Schubert
2021-09-21 20:47:28 +02:00
parent 2320e1c782
commit 1d162fedb7
3 changed files with 7 additions and 4 deletions

View File

@@ -186,7 +186,7 @@ class OrderModel {
GROUP BY `Order`.id
ORDER BY `Order`.order_date ASC";
mfLoghandler::singleton()->debug($sql);
//mfLoghandler::singleton()->debug($sql);
if(is_array($limit) && count($limit)) {
if(is_numeric($limit['start']) && is_numeric($limit['count'])) {