diff options
author | thomascube <thomas@roundcube.net> | 2011-05-12 20:18:19 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-05-12 20:18:19 +0000 |
commit | e848180aaa9640de871796ca1a3e4f8110701fd6 (patch) | |
tree | 8691c816c9c8ddd4ad8ef733cc61a8bc52541cc3 /program/steps/addressbook/export.inc | |
parent | caedd52361f8ba15aa6bfbc00cab7f55525f5edf (diff) |
Improve display name composition when saving contacts (#1487143), with plugin-support; allow empty names in sql address book, fall back to e-mail address in listing and vcard export
Diffstat (limited to 'program/steps/addressbook/export.inc')
-rw-r--r-- | program/steps/addressbook/export.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc index 69f8e2e0b..bfe8e996c 100644 --- a/program/steps/addressbook/export.inc +++ b/program/steps/addressbook/export.inc @@ -5,7 +5,7 @@ | program/steps/addressbook/export.inc | | | | This file is part of the Roundcube Webmail client | - | Copyright (C) 2008-2009, The Roundcube Dev Team | + | Copyright (C) 2008-2011, The Roundcube Dev Team | | Licensed under the GNU GPL | | | | PURPOSE: | @@ -31,7 +31,7 @@ header('Content-Disposition: attachment; filename="rcube_contacts.vcf"'); while ($result && ($row = $result->next())) { // we already have a vcard record - if ($row['vcard']) { + if ($row['vcard'] && $row['name']) { echo rcube_vcard::rfc2425_fold($row['vcard']) . "\n"; } // copy values into vcard object |