Avoid error if export definition name has a quote in it

This commit is contained in:
nathangray 2017-02-01 08:56:36 -07:00
parent 385977e828
commit 7a5ebcc89b

View File

@ -93,7 +93,7 @@ class importexport_export_ui {
continue; continue;
} }
if ($title = $definition->get_title()) { if ($title = $definition->get_title()) {
$sel_options['definition'][$title] = $title; $sel_options['definition'][$definition->get_identifier()] = $title;
} }
unset($definition); unset($definition);
} }