Defect #20677 » issue.rb.patch
| issue.rb (working copy) | ||
|---|---|---|
| 660 | 660 |
if attribute =~ /^\d+$/ |
| 661 | 661 |
attribute = attribute.to_i |
| 662 | 662 |
v = custom_field_values.detect {|v| v.custom_field_id == attribute }
|
| 663 |
if v && v.value.blank?
|
|
| 663 |
if v && Array(v.value).detect(&:present?).nil?
|
|
| 664 | 664 |
errors.add :base, v.custom_field.name + ' ' + l('activerecord.errors.messages.blank')
|
| 665 | 665 |
end |
| 666 | 666 |
else |
- « Previous
- 1
- 2
- Next »