Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove duplicate call to encode_email_addresses

This was the cause of a bug that meant that all contacts' email addresses were
being duplicated. So for example, running `ppl email fred fred@example.org`
resulted in the email address "fred@example.org" appearing *twice* in fred's
list of email addresses.
  • Loading branch information...
commit 4c9bc1cd10b97081452e41c6804e6b858fe8e7b9 1 parent 77cc6f7
Henry Smith authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/ppl/adapter/vcard/vpim.rb
1  lib/ppl/adapter/vcard/vpim.rb
View
@@ -20,7 +20,6 @@ def encode(contact)
encode_phone_number(contact, maker)
encode_organization(contact, maker)
encode_postal_address(contact, maker)
- encode_email_addresses(contact, maker)
end
vcard.to_s
end
Please sign in to comment.
Something went wrong with that request. Please try again.