diff --git a/app/jobs/regular/user_email.rb b/app/jobs/regular/user_email.rb index de1d318f4f8..3f6193501df 100644 --- a/app/jobs/regular/user_email.rb +++ b/app/jobs/regular/user_email.rb @@ -127,7 +127,7 @@ module Jobs email_args[:email_token] = email_token end - if type == :notify_old_email + if type.to_s == "notify_old_email" email_args[:new_email] = user.email end