diff --git a/app/models/dmsf_mailer.rb b/app/models/dmsf_mailer.rb index 86a8c205..203050ca 100644 --- a/app/models/dmsf_mailer.rb +++ b/app/models/dmsf_mailer.rb @@ -108,7 +108,7 @@ class DmsfMailer < Mailer res end - def self.deliver_workflow_notification(users, workflow, revision, subject_id, text1_id, text2_id, notice = nil, tep = nil) + def self.deliver_workflow_notification(users, workflow, revision, subject_id, text1_id, text2_id, notice = nil, step = nil) step_name = (step && step.name.present?) ? step.name : step.step users.each do |user| workflow_notification(user, workflow, revision, subject_id.to_s, text1_id.to_s, text2_id.to_s, notice,