Thomas Bruederli
2014-04-24 f0405b4bae247b7dfe30a870fdccb5cb0f25d76e
Accept broken vcards from Outlook that only supply ORG but not the required N or FN properties
1 files modified
5 ■■■■■ changed files
program/lib/Roundcube/rcube_vcard.php 5 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_vcard.php
@@ -149,6 +149,11 @@
            $this->email[0] = $this->email[$pref_index];
            $this->email[$pref_index] = $tmp;
        }
        // fix broken vcards from Outlook that only supply ORG but not the required N or FN properties
        if (!strlen(trim($this->displayname . $this->surname . $this->firstname)) && strlen($this->organization)) {
            $this->displayname = $this->organization;
        }
    }
    /**