diff --git a/backend/controllers/PriceController.php b/backend/controllers/PriceController.php index ccb1544..fb5b01c 100644 --- a/backend/controllers/PriceController.php +++ b/backend/controllers/PriceController.php @@ -65,7 +65,7 @@ } } - $services = Service::find()->where(['is not','parent_id', null])->with('language')->all(); + $services = Service::find()->with('language')->all(); $lastId = Price::find()->max('id'); $prices = Price::find()->where(['service_id' => $service_id])->with('languages')->all(); $data = ArrayHelper::map($services, 'id', 'title'); -- libgit2 0.21.4