Skip to content

Commit

Permalink
be more flexible with the arguments list (should fix it for redmine t…
Browse files Browse the repository at this point in the history
…runk)
  • Loading branch information
jkraemer committed Feb 28, 2017
1 parent 708cc2f commit 4f699f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/redmine_issue_field_visibility/issues_helper_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f699f8

Please sign in to comment.