Charlie 9 years ago
parent
commit
992798727c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/protected/controllers/UserController.php

+ 1 - 1
www/protected/controllers/UserController.php

@@ -138,7 +138,7 @@ class UserController extends AdminController
         $user->name = $name;
         $user->name = $name;
 
 
         // 如果角色为技师
         // 如果角色为技师
-        if (in_array('师', $roles)) {
+        if (in_array('保洁师', $roles)) {
             // 用户信息与美容师信息同步
             // 用户信息与美容师信息同步
             $techInfo = TechInfo::get($_id);
             $techInfo = TechInfo::get($_id);
             if (!$techInfo) {
             if (!$techInfo) {