diff --git a/lib/redmine_issue_field_visibility/issues_helper_patch.rb b/lib/redmine_issue_field_visibility/issues_helper_patch.rb index 3e4c751..2690e14 100644 --- a/lib/redmine_issue_field_visibility/issues_helper_patch.rb +++ b/lib/redmine_issue_field_visibility/issues_helper_patch.rb @@ -5,9 +5,9 @@ def self.apply end module InstanceMethods - def email_issue_attributes(issue, user) + def email_issue_attributes(issue, user, *_) issue.with_hidden_core_fields_for_user(user) do - super(issue, user) + super end end end