Kirin 2 mesiacov pred
rodič
commit
289252fba1
1 zmenil súbory, kde vykonal 0 pridanie a 5 odobranie
  1. 0 5
      app/controller/admin/v1/user/User.php

+ 0 - 5
app/controller/admin/v1/user/User.php

@@ -592,11 +592,6 @@ class User extends AuthController
                 $data['area_admin_city'] = '';
                 $data['area_admin_district'] = '';
             }
-        } else {
-            $data['area_admin'] = 0;
-            $data['area_admin_province'] = '';
-            $data['area_admin_city'] = '';
-            $data['area_admin_district'] = '';
         }
 
         $res = $this->services->updateInfo((int)$id, $data);