diff --git a/mirzaev/skillparts/system/controllers/CartController.php b/mirzaev/skillparts/system/controllers/CartController.php index 679be37..c7a68f9 100644 --- a/mirzaev/skillparts/system/controllers/CartController.php +++ b/mirzaev/skillparts/system/controllers/CartController.php @@ -76,7 +76,7 @@ class CartController extends Controller goto end; } - if ($edges = OrderEdgeSupply::searchBySupplyCatn($catn)) { + if ($edges = OrderEdgeSupply::searchBySupplyCatn($catn, Order::search())) { // Рёбра найдены (связи заказа с поставкой) // Инициализация