north 7 лет назад
Родитель
Сommit
6aba48e34e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      www/protected/modules/j/controllers/HouseKeepingController.php

+ 1 - 1
www/protected/modules/j/controllers/HouseKeepingController.php

@@ -25,7 +25,7 @@ class HouseKeepingController extends JBaseController
             $criteria->store_id('==', $je->owned_stores);
         }
 
-        $criteria->store_id('==', $store_id);
+        $criteria->store_id('==', intval($store_id));
 
         $cursor = HouseKeeping::model()->findAll($criteria);
         $rows = CommonFn::getRowsFromCursor($cursor);