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 84f5b0c67c
commit ee9a553469

View File

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