Commit 815bfc7264610961f40efc8ba6b3e7d8330e8bd8
1 parent
09021ac6
01.03.16
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/controllers/CompanyController.php
@@ -149,7 +149,7 @@ class CompanyController extends Controller | @@ -149,7 +149,7 @@ class CompanyController extends Controller | ||
149 | } | 149 | } |
150 | 150 | ||
151 | 151 | ||
152 | - $query = Team::find(['user_id'=>$company_id]); | 152 | + $query = Team::find()->where(['user_id'=>$company_id]); |
153 | 153 | ||
154 | $countQuery = clone $query; | 154 | $countQuery = clone $query; |
155 | 155 |