* 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 798823ab6e
commit d31d19c1ec

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