- Fix vcard export (#1487765)

release-0.6
alecpl 14 years ago
parent 29aab5a214
commit cbf89140b3

@ -32,7 +32,7 @@ header('Content-Disposition: attachment; filename="rcube_contacts.vcf"');
while ($result && ($row = $result->next())) {
// we already have a vcard record
if ($row['vcard']) {
echo $row['vcard'];
echo $row['vcard'] . "\n";
}
// copy values into vcard object
else {
@ -45,8 +45,8 @@ while ($result && ($row = $result->next())) {
$vcard->set($field, $value, strtoupper($section));
}
}
echo $vcard->export();
echo $vcard->export() . "\n";
}
}

Loading…
Cancel
Save