north 7 năm trước cách đây
mục cha
commit
d2eadfb790

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

@@ -134,7 +134,7 @@ class HouseKeepingController extends JBaseController
             $h->tech_mobile = $tech_mobile;
         }
         $success = $h->save();
-        if ($h->save() && intval($h->status) == 2) {//status_time
+        if ($success && intval($h->status) == 2) {//status_time
             $c = new EMongoCriteria();
             $c->store_id('==',$h->store_id);
             $store = Store::model()->find($c);
@@ -153,6 +153,7 @@ class HouseKeepingController extends JBaseController
             ));
 
         }
+
         CommonFn::requestAjax($success, '修改成功', array());
 
     }