Thomas Bruederli
2014-04-24 e94795536758c4b55c3fab8fdbae1b7eac96133e
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;
        }
    }
    /**