Skip to content

Commit

Permalink
Fix recently introduced bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Jan 6, 2024
1 parent 1e3f0fc commit a44c301
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/registers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def notification
def notify
# Note that +notify+ handles errors differently, and is incompatible with
# the standard +change_status+ call used in all other status changes
if @register.notify(current_user, register_notify_params, params[:doi])
par = register_notify_params
if @register.notify(current_user, par, params[:doi])
flash[:notice] = 'The list has been successfully submitted for validation'
add_automatic_correspondence('SeqCode Register notified')
redirect_to(@register)
Expand Down

0 comments on commit a44c301

Please sign in to comment.