فهرست منبع

后台编辑用户

linwu 2 سال پیش
والد
کامیت
c8e5149219
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/admin/controller/User.php

+ 1 - 1
app/admin/controller/User.php

@@ -791,7 +791,7 @@ class User extends BaseController
             'emp_time'       => array_values(input('emp_time/a', [])),
             'work_place'     => array_values(input('work_place/a', [])),
             'com_cate_type'  => input('com_cate_type/d', 1),
-            'com_cate'       => array_values(input('com_cate/a', "")),
+            'com_cate'       => array_values(input('com_cate/a', [])),
             'com_cate_other' => input('com_cate_other/s', ""),
         ];
         $password       = input('password/s');