Skip to content

Commit

Permalink
ISSUE #448: Correção no update do conceito CAPES
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMonardez committed Oct 24, 2024
1 parent 3b6452c commit daf645a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/program_levels_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit daf645a

Please sign in to comment.