diff --git a/include/export/export_follow_up_contact_csv.php b/include/export/export_follow_up_contact_csv.php index d7b4a1e93..0d02f9697 100644 --- a/include/export/export_follow_up_contact_csv.php +++ b/include/export/export_follow_up_contact_csv.php @@ -64,7 +64,7 @@ join contact_option_ref cor on (cor.cor_id=apo.contact_option_ref_id) where ag_id=$1 and f_id=$2 order by cor_id",array($ag_id,$lastcard)); $nb_option=count($aOption); for ($h=0;$h < $nb_option;$h++) { - $csv->add($h); + $csv->add($aOption[$h]['ap_value']); } $csv->write(); $lastcard=$aRow[$i]['f_id'];