From 73e2b0584a51c12f3fe2fb43f3a5f77e691abb95 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 8 Mar 2020 11:38:54 +0100 Subject: [PATCH] Fix missing contact display name in QR Code data (#7257) --- CHANGELOG | 1 + program/steps/addressbook/qrcode.inc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6414b220a..39bc2b1c4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 ------------- diff --git a/program/steps/addressbook/qrcode.inc b/program/steps/addressbook/qrcode.inc index 26e7da118..73eb7bf3b 100644 --- a/program/steps/addressbook/qrcode.inc +++ b/program/steps/addressbook/qrcode.inc @@ -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);