Merge pull request #316 from namesco/prevent-blank-contactnames

Ensure roundcube doesn't render contact names as blank
pull/320/head
Thomas B 9 years ago
commit 66d4ef6e31

@ -550,7 +550,7 @@ abstract class rcube_addressbook
// fallbacks... // fallbacks...
if ($fn === '') { if ($fn === '') {
// ... display name // ... display name
if (!empty($contact['name'])) { if (!empty(trim($contact['name']))) {
$fn = $contact['name']; $fn = $contact['name'];
} }
// ... organization // ... organization

Loading…
Cancel
Save