north 7 years ago
parent
commit
6aba48e34e
1 changed files with 1 additions and 1 deletions
  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);