[Svn] r4501 - trunk/roundcubemail/program/steps/addressbook

trac at roundcube.net trac at roundcube.net
Mon Feb 7 10:02:29 CET 2011


Author: alec
Date: 2011-02-07 03:02:29 -0600 (Mon, 07 Feb 2011)
New Revision: 4501

Modified:
   trunk/roundcubemail/program/steps/addressbook/export.inc
Log:
- Fix vcard export (#1487765)


Modified: trunk/roundcubemail/program/steps/addressbook/export.inc
===================================================================
--- trunk/roundcubemail/program/steps/addressbook/export.inc	2011-02-06 22:36:59 UTC (rev 4500)
+++ trunk/roundcubemail/program/steps/addressbook/export.inc	2011-02-07 09:02:29 UTC (rev 4501)
@@ -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";
   }
 }
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list