Commit a942071d7188a7b2109dff4db0dc02db46ed2f76
1 parent
ac9a2bf6
01.03.16
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
frontend/controllers/CompanyController.php
frontend/controllers/PerformerController.php
... | ... | @@ -254,7 +254,7 @@ |
254 | 254 | throw new BadRequestHttpException('Пользователь не найден'); |
255 | 255 | } |
256 | 256 | |
257 | - $query = Gallery::find([ 'user_id' => $performer_id ]); | |
257 | + $query = Gallery::find()->where([ 'user_id' => $performer_id ]); | |
258 | 258 | |
259 | 259 | $countQuery = clone $query; |
260 | 260 | ... | ... |