* Import/Export: Fix export CSV with Tab delimiter literally inserted '\t' instead of tab.

Reported by xenolevis
This commit is contained in:
nathangray 2019-10-02 11:48:10 -06:00
parent 7ca76b9160
commit 8b2175e3a9

View File

@ -304,6 +304,12 @@ class importexport_export_ui {
unset($_content['filter']);
$definition->filter = $filter;
// Check/fix non-printing delimiters
if($_content['delimiter'] === '\t')
{
$_content['delimiter'] = "\t";
}
$definition->plugin_options = array_merge(
$definition->plugin_options,
$_content