summaryrefslogtreecommitdiffstats
path: root/apps/contacts/export.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-01-11 06:20:06 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-01-11 06:20:06 +0100
commiteae3e134ff9005e50ea4e611b2c2daba94ad49ea (patch)
tree36c665ff00e71244b170c73c7d629f94279ad04e /apps/contacts/export.php
parentd93a5a0774a53456b7b0f5a64b22c798d4682801 (diff)
downloadnextcloud-server-eae3e134ff9005e50ea4e611b2c2daba94ad49ea.tar.gz
nextcloud-server-eae3e134ff9005e50ea4e611b2c2daba94ad49ea.zip
Make sure VERSION is set.
Set REV for each edit. Download single VCard.
Diffstat (limited to 'apps/contacts/export.php')
-rw-r--r--apps/contacts/export.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/export.php b/apps/contacts/export.php
index a1e974c962b..735d1c5b631 100644
--- a/apps/contacts/export.php
+++ b/apps/contacts/export.php
@@ -33,7 +33,7 @@ if(isset($book)){
exit;
}
header('Content-Type: text/directory');
- header('Content-Disposition: inline; filename=' . $data['fullname'] . '.vcf');
+ header('Content-Disposition: inline; filename=' . str_replace(' ', '_', $data['fullname']) . '.vcf');
echo $data['carddata'];
}
?>