diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index bfd4b8be..06b29c9f 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -3032,6 +3032,7 @@ end user.certification = 1 user.grade = 0 user.password = "12345678" + user.phone = list[5] if user.save ue = UserExtensions.new(:user_id => user.id, :gender => 0, :school_id => school_id, :location => school.province, :location_city => school.city, :identity => list[3], :student_id => list[0], :department_id => department.try(:id)) if list[3] && list[3].to_i == 0