From cbf89140b3594bb7b44f8312f45c25c7c50965e8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 07 Feb 2011 04:02:29 -0500
Subject: [PATCH] - Fix vcard export (#1487765)
---
program/steps/addressbook/export.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc
index 509be59..1f4f119 100644
--- a/program/steps/addressbook/export.inc
+++ b/program/steps/addressbook/export.inc
@@ -32,7 +32,7 @@
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 @@
$vcard->set($field, $value, strtoupper($section));
}
}
-
- echo $vcard->export();
+
+ echo $vcard->export() . "\n";
}
}
--
Gitblit v1.9.1