summaryrefslogtreecommitdiffstats
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 66d3e1f3e..14d43f98e 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -321,8 +321,8 @@ module IssuesHelper
def email_issue_attributes(issue, user, html)
items = []
- %w(author status priority assigned_to category fixed_version).each do |attribute|
- unless issue.disabled_core_fields.include?(attribute+"_id")
+ %w(author status priority assigned_to category fixed_version start_date due_date).each do |attribute|
+ if issue.disabled_core_fields.grep(/^#{attribute}(_id)?$/).empty?
if html
items << content_tag('strong', "#{l("field_#{attribute}")}: ") + (issue.send attribute)
else