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

bnet/additions
Aleksander Machniak 5 years ago
parent f0aafa98ee
commit 73e2b0584a

@ -6,6 +6,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