Stop double encoding on export file header

This commit is contained in:
Nathan Gray 2012-01-10 19:46:09 +00:00
parent aab7d2be24
commit 8253598419

View File

@ -176,7 +176,6 @@ class importexport_export_csv implements importexport_iface_export_record
}
}
$mapping = ! empty( $this->mapping ) ? $this->mapping : array_keys ( $this->record );
$mapping = $this->translation->convert( $mapping, $this->translation->charset(), $this->csv_charset );
self::fputcsv( $this->handle ,$mapping ,$this->csv_options['delimiter'], $this->csv_options['enclosure'] );
}