Project

General

Profile

Defect #23947 ยป 2.single_issue_edit_from_context_menu_fix.patch

Andrey Lobanov (RedSoft), 2016-09-28 08:17

View differences:

app/controllers/issues_controller.rb (revision d1ca7fccfe3c6e20d47a098bed5aecde1763aac9)
428 428
        return false
429 429
      end
430 430
    end
431
    if issue_attributes['custom_field_values'].present?
431
    if issue_attributes && issue_attributes['custom_field_values'].present?
432 432
      (@project.all_issue_custom_fields.all.select { |issue_custom_field| Redmine::FieldFormat::BUILD_VERSION_FORMATS.include?(issue_custom_field.field_format) }).each {
433 433
          |custom_field|
434 434
        unless issue_attributes['custom_field_values'][custom_field['id'].to_s].present?
    (1-1/1)