Join binets with ', ' instead of just ','
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 5 Jul 2008 16:01:58 +0000 (18:01 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 5 Jul 2008 16:01:58 +0000 (18:01 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/vcard.inc.php

index ccb8526..b11f878 100644 (file)
@@ -92,8 +92,8 @@ class VCardIterator implements PlIterator
                 $user['forlife'].'@'.$globals->mail->domain2);
 
         $user['virtualalias'] = $res->fetchOneCell();
-        $user['gpxs_vcardjoin'] = join(',', array_map(array('VCard', 'text_encode'), $user['gpxs_name']));
-        $user['binets_vcardjoin'] = join(',', array_map(array('VCard', 'text_encode'), $user['binets']));
+        $user['gpxs_vcardjoin'] = join(', ', array_map(array('VCard', 'text_encode'), $user['gpxs_name']));
+        $user['binets_vcardjoin'] = join(', ', array_map(array('VCard', 'text_encode'), $user['binets']));
         // get photo
         if ($this->photos) {
             $res = XDB::query(