mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-30 20:29:37 +00:00
add empty line after guard clause to ImportsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20236 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b43695530d
commit
79d5978b5c
@ -179,6 +179,7 @@ class ImportsController < ApplicationController
|
||||
# Core fields
|
||||
import_type::AUTO_MAPPABLE_FIELDS.each do |field_nm, label_nm|
|
||||
next if mappings.include?(field_nm)
|
||||
|
||||
index = headers.index(field_nm) || headers.index(l(label_nm).downcase)
|
||||
if index
|
||||
mappings[field_nm] = index
|
||||
@ -189,6 +190,7 @@ class ImportsController < ApplicationController
|
||||
@custom_fields.each do |field|
|
||||
field_nm = "cf_#{field.id}"
|
||||
next if mappings.include?(field_nm)
|
||||
|
||||
index = headers.index(field_nm) || headers.index(field.name.downcase)
|
||||
if index
|
||||
mappings[field_nm] = index
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user