diff --git a/importexport/inc/class.importexport_import_ui.inc.php b/importexport/inc/class.importexport_import_ui.inc.php index ba08a2fc1c..4b2326245f 100644 --- a/importexport/inc/class.importexport_import_ui.inc.php +++ b/importexport/inc/class.importexport_import_ui.inc.php @@ -54,7 +54,7 @@ use EGroupware\Api\Etemplate; if($definition) { - $definition_obj = new importexport_definition($content['definition']); + $definition_obj = new importexport_definition($definition); } // Load application's translations diff --git a/importexport/inc/class.importexport_schedule_ui.inc.php b/importexport/inc/class.importexport_schedule_ui.inc.php index 9321594596..6e22c26656 100644 --- a/importexport/inc/class.importexport_schedule_ui.inc.php +++ b/importexport/inc/class.importexport_schedule_ui.inc.php @@ -251,7 +251,10 @@ class importexport_schedule_ui } if (($title = $definition->get_title())) { - $options['definition'][$title] = $title; + $options['definition'][] = array( + 'value' => $definition->get_identifier(), + 'label' => $title + ); } unset($definition); } diff --git a/importexport/templates/default/definition_index.xet b/importexport/templates/default/definition_index.xet index cf82c83cf7..3e7e7cd285 100644 --- a/importexport/templates/default/definition_index.xet +++ b/importexport/templates/default/definition_index.xet @@ -21,7 +21,7 @@ - +