north 7 rokov pred
rodič
commit
6aba48e34e

+ 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);