north 7 年 前
コミット
ab6a5c1c62

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

@@ -23,8 +23,8 @@ class HouseKeepingController extends JBaseController
         }
 
         // id筛选
-        if ($id) {
-            $criteria->user_id('==', new MongoId($id));
+        if (!empty($id)) {
+            $criteria->user_id('==', $id);
         }