diff --git a/app/controllers/program_levels_controller.rb b/app/controllers/program_levels_controller.rb index 8baf5d93..7dc2e60b 100644 --- a/app/controllers/program_levels_controller.rb +++ b/app/controllers/program_levels_controller.rb @@ -24,7 +24,7 @@ def do_update record = self.params[:record] - if old_record.level != record[:level] + if old_record.level.to_s != record[:level] ProgramLevel.create!( level: old_record.level, start_date: old_record.start_date,