From cf69daf896e7598d7fcd77b2126c665f7f4683f1 Mon Sep 17 00:00:00 2001
From: Thomas B. <thomas@roundcube.net>
Date: Sun, 09 Aug 2015 11:12:02 -0400
Subject: [PATCH] Merge pull request #288 from ThijsFeryn/fnnonempty
---
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 798bbab..91815a6 100644
--- a/program/lib/Roundcube/rcube_vcard.php
+++ b/program/lib/Roundcube/rcube_vcard.php
@@ -124,11 +124,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