From 4f699f8dc5e03dbbe46081c12dedce767696617f Mon Sep 17 00:00:00 2001 From: Jens Kraemer Date: Tue, 28 Feb 2017 15:02:21 +0800 Subject: [PATCH] be more flexible with the arguments list (should fix it for redmine trunk) --- lib/redmine_issue_field_visibility/issues_helper_patch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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