Commit 4d688be73f0bc0e031ad446fe1860c5e313168ad

Authored by Anastasia
1 parent 727d4d0e

- bug fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/controllers/ServiceController.php
... ... @@ -23,7 +23,7 @@
23 23 }elseif ($model->level == 1){
24 24 $others = Service::find()->where(['parent_id' => $model->parent_id])->with('services.language.alias')->all();
25 25 }else{
26   - $others = Service::find()->where(['parent_id' => (new Query())->select('parent_id')->from('services.language.alias')->where(['id' => $model->parent_id])])->with('services.language.alias')->all();
  26 + $others = Service::find()->where(['parent_id' => (new Query())->select('parent_id')->from('service')->where(['id' => $model->parent_id])])->with('services.language.alias')->all();
27 27 }
28 28  
29 29 $model->body = str_replace('[[prices]]', $this->renderPartial('_prices', ['prices' => $model->prices]), $model->body);
... ...