Commit ac9a2bf63c55b2863cb76d886a722f09e08d7289

Authored by Administrator
1 parent 815bfc72

01.03.16

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/controllers/CompanyController.php
... ... @@ -301,7 +301,7 @@ class CompanyController extends Controller
301 301 }
302 302  
303 303  
304   - $query = Gallery::find(['user_id'=>$company_id]);
  304 + $query = Gallery::find()->where(['user_id'=>$company_id]);
305 305  
306 306 $countQuery = clone $query;
307 307  
... ...