From 58f6f19505d5f3dc5054b03eb7f3db4075f6387e Mon Sep 17 00:00:00 2001 From: ThijsFeryn <thijs@combellgroup.com> Date: Mon, 27 Jul 2015 08:38:08 -0400 Subject: [PATCH] Emptying the display name when the display name is the main e-mail address contradicts lines 731 till 734 --- program/lib/Roundcube/rcube_vcard.php | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/program/lib/Roundcube/rcube_vcard.php b/program/lib/Roundcube/rcube_vcard.php index a71305c..c58487c 100644 --- a/program/lib/Roundcube/rcube_vcard.php +++ b/program/lib/Roundcube/rcube_vcard.php @@ -123,11 +123,6 @@ $this->raw = self::charset_convert($this->raw, $detected_charset); } - // consider FN empty if the same as the primary e-mail address - if ($this->raw['FN'][0][0] == $this->raw['EMAIL'][0][0]) { - $this->raw['FN'][0][0] = ''; - } - // find well-known address fields $this->displayname = $this->raw['FN'][0][0]; $this->surname = $this->raw['N'][0][0]; -- Gitblit v1.9.1