#12777 qr name remove entities
This commit is contained in:
parent
895684238e
commit
f43279acc3
|
@ -985,7 +985,7 @@ html_print_table($userManagementTable);
|
||||||
|
|
||||||
$vcard_data = [];
|
$vcard_data = [];
|
||||||
$vcard_data['version'] = '3.0';
|
$vcard_data['version'] = '3.0';
|
||||||
$vcard_data['firstName'] = $user_info['fullname'];
|
$vcard_data['firstName'] = io_safe_output($user_info['fullname']);
|
||||||
$vcard_data['lastName'] = '';
|
$vcard_data['lastName'] = '';
|
||||||
$vcard_data['middleName'] = '';
|
$vcard_data['middleName'] = '';
|
||||||
$vcard_data['workPhone'] = $user_info['phone'];
|
$vcard_data['workPhone'] = $user_info['phone'];
|
||||||
|
|
|
@ -2413,22 +2413,11 @@ date: 2018-05-14 15:05:04
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(vCard);
|
||||||
formattedVCardString +=
|
formattedVCardString +=
|
||||||
"FN" + encodingPrefix + ":" + e(formattedName) + nl();
|
"FN" + encodingPrefix + ":" + e(formattedName) + nl();
|
||||||
formattedVCardString +=
|
formattedVCardString +=
|
||||||
"N" +
|
"N" + encodingPrefix + ":" + e(vCard.firstName) + nl();
|
||||||
encodingPrefix +
|
|
||||||
":" +
|
|
||||||
e(vCard.lastName) +
|
|
||||||
";" +
|
|
||||||
e(vCard.firstName) +
|
|
||||||
";" +
|
|
||||||
e(vCard.middleName) +
|
|
||||||
";" +
|
|
||||||
e(vCard.namePrefix) +
|
|
||||||
";" +
|
|
||||||
e(vCard.nameSuffix) +
|
|
||||||
nl();
|
|
||||||
|
|
||||||
if (vCard.nickname && majorVersion >= 3) {
|
if (vCard.nickname && majorVersion >= 3) {
|
||||||
formattedVCardString +=
|
formattedVCardString +=
|
||||||
|
|
Loading…
Reference in New Issue