Skip to content

Commit

Permalink
unique emails should be case insentive
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Jan 14, 2020
1 parent 47c4982 commit 32a36a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/export_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def contacts
contacts = Hash.new

add_contact = Proc.new { |contacts, email, id, firstname, lastname, type|
email.downcase
if email
unless contacts.has_key?(email)
contacts[email] = {
Expand Down

0 comments on commit 32a36a2

Please sign in to comment.