Thomas B.
2015-08-09 cf69daf896e7598d7fcd77b2126c665f7f4683f1
Merge pull request #288 from ThijsFeryn/fnnonempty

Emptying the display name when the display name is the main e-mail ad…
1 files modified
5 ■■■■■ changed files
program/lib/Roundcube/rcube_vcard.php 5 ●●●●● patch | view | raw | blame | history
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];