Fix missing contact display name in QR Code data (#7257)

pull/7282/head
Aleksander Machniak 4 years ago
parent d194b238c7
commit e5247e855e

@ -19,6 +19,7 @@ CHANGELOG Roundcube Webmail
- Elastic: Fix text selection with Shift+PageUp and Shift+PageDown in plain text editor when using Chrome (#7230)
- Elastic: Fix recipient input bug when using click to select a contact from autocomplete list (#7231)
- Fix invalid Content-Type for messages with only html part and inline images - Mail_Mime-1.10.7 (#7261)
- Fix missing contact display name in QR Code data (#7257)
RELEASE 1.4.3
-------------

@ -44,8 +44,8 @@ function rcmail_contact_qrcode($contact)
$vcard = new rcube_vcard();
// QR code input is limited, use only common fields
$fields = array('firstname', 'surname', 'middlename', 'nickname', 'organization',
'prefix', 'suffix', 'phone', 'email', 'jobtitle');
$fields = array('name', 'firstname', 'surname', 'middlename', 'nickname',
'organization', 'phone', 'email', 'jobtitle', 'prefix', 'suffix');
foreach ($contact as $field => $value) {
list($field, $section) = explode(':', $field, 2);

Loading…
Cancel
Save