From ee9a553469b1489ac0932b36da7df94478da5a81 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 1 Feb 2017 08:56:36 -0700 Subject: [PATCH] Avoid error if export definition name has a quote in it --- importexport/inc/class.importexport_export_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_export_ui.inc.php b/importexport/inc/class.importexport_export_ui.inc.php index c231e74b98..cf1e7eb80d 100644 --- a/importexport/inc/class.importexport_export_ui.inc.php +++ b/importexport/inc/class.importexport_export_ui.inc.php @@ -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); }