mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Patch by Seiei Miyagi. git-svn-id: http://svn.redmine.org/redmine/trunk@19454 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -248,7 +248,7 @@ class Import < ActiveRecord::Base
|
||||
wrapper = settings['wrapper'].to_s
|
||||
csv_options[:quote_char] = wrapper if wrapper.size == 1
|
||||
|
||||
CSV.foreach(filepath, csv_options) do |row|
|
||||
CSV.foreach(filepath, **csv_options) do |row|
|
||||
yield row if block_given?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user