Try out PHP's native fputcsv() to see if it still causes problems

This commit is contained in:
Nathan Gray 2011-11-29 00:27:54 +00:00
parent eb95a1b1db
commit d5904fb3c0

View File

@ -182,7 +182,7 @@ class importexport_export_csv implements importexport_iface_export_record
}
}
$this->fputcsv( $this->handle, $this->record, $this->csv_options['delimiter'], $this->csv_options['enclosure'] );
fputcsv( $this->handle, $this->record, $this->csv_options['delimiter'], $this->csv_options['enclosure'] );
$this->num_of_records++;
}
@ -358,6 +358,7 @@ class importexport_export_csv implements importexport_iface_export_record
/**
* The php build in fputcsv function is buggy, so we need an own one :-(
* Buggy how?
*
* @param resource $filePointer
* @param array $dataArray