Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddob committed Jan 22, 2020
2 parents dedfb76 + 37169f4 commit c7cb238
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/controllers/courses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ def save_uploaded_roster
fail "New user cannot be created in uploadRoster." if user.nil?
else
# Override current user
user.first_name = first_name
user.last_name = last_name
# user.first_name = first_name
# user.last_name = last_name
user.school = school
user.major = major
user.year = year
Expand Down Expand Up @@ -554,8 +554,8 @@ def save_uploaded_roster
end

# Update user data
user.first_name = newCUD[:first_name]
user.last_name = newCUD[:last_name]
# user.first_name = newCUD[:first_name]
# user.last_name = newCUD[:last_name]
user.school = newCUD[:school]
user.major = newCUD[:major]
user.year = newCUD[:year]
Expand Down

0 comments on commit c7cb238

Please sign in to comment.