WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Majo Fukasz (majky)
Assigned to: Nobody/Anonymous (nobody)
Summary: Export to VCARD only exports the last entry in the list
Your LDAP server:
Your web server: Apache 2.2.11
Your operating system: Windows XP
I think there's a bug in lib/export_functions.php, in class ExportVCARD that will always overwrite the output of the VCARD with the last entry, resulting in only the last entry being exported to the VCARD (instead of the whole list).
I fixed this by:
 changing the line 597 (in version 1.2.2)
$output = sprintf('BEGIN:VCARD%s',$this->br);
$output .= sprintf('BEGIN:VCARD%s',$this->br);
(changed '=' to '.=')
 properly initializing the variable output at the start of export function (line ~581):
$output = '';