diff --git a/admin/test.php b/admin/test.php index 69ef0a0..abf9886 100644 --- a/admin/test.php +++ b/admin/test.php @@ -31,5 +31,5 @@ print_r($items); # $items = []; foreach(фетч того ебучего массива as $value) {$items[$value['id']] = $value} $result = db::c()->query('SELECT * FROM `shop` WHERE count > 0'); while ($row = $result->fetch_assoc()) { - $iteminfo[] = new item($row); + $iteminfo[] = new Item($row); } \ No newline at end of file