summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-22 10:34:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-22 10:34:25 +0000
commit89e386ea0cd73ce043ab82e092551252f42b08c2 (patch)
tree84740ce694dd63df31fa19cb7fb8d77202184111 /app
parentfa4b6f294b16649f9c1c4c8dc9de4b01484d18d7 (diff)
downloadredmine-89e386ea0cd73ce043ab82e092551252f42b08c2.tar.gz
redmine-89e386ea0cd73ce043ab82e092551252f42b08c2.zip
Merged r13557 (#17744).
git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@13629 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index dd6361e9e..c62979368 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -624,7 +624,7 @@ class Issue < ActiveRecord::Base
errors.add :base, v.custom_field.name + ' ' + l('activerecord.errors.messages.blank')
end
else
- if respond_to?(attribute) && send(attribute).blank?
+ if respond_to?(attribute) && send(attribute).blank? && !disabled_core_fields.include?(attribute)
errors.add attribute, :blank
end
end