Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426

pull/5168/head
Aleksander Machniak 8 years ago
parent 3a13b5dab8
commit 348ec70f12

@ -742,9 +742,9 @@ class rcube_vcard
else if (is_bool($attrvalues)) {
// true means just a tag, not tag=value, as in PHOTO;BASE64:...
if ($attrvalues) {
// vCard v3 uses ENCODING=B (#1489183)
// vCard v3 uses ENCODING=b (#1489183)
if ($attrname == 'base64') {
$attr .= ";ENCODING=B";
$attr .= ";ENCODING=b";
}
else {
$attr .= strtoupper(";$attrname");

Loading…
Cancel
Save