Ensure roundcube doesn't render contact names as blank (when the name is whitespace)

pull/316/head
James Buncle 9 years ago
parent 4e1aa60c16
commit fd0244dabf

@ -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