seam 7 years ago
parent
commit
c6a6782934
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

@@ -174,7 +174,7 @@ class HouseKeepingController extends JBaseController
     public function actionAddUserInfo()
     {
         $user_id = Yii::app()->request->getParam('user_id','');
-        if (empty($user_id) || CommonFn::isMongoId($user_id)) {
+        if (empty($user_id) || !CommonFn::isMongoId($user_id)) {
             CommonFn::requestAjax(false, '添加失败1', array());
         }
         $mobile = Yii::app()->request->getParam('mobile','');