Importexport: Fix clicking import button from list did not start with that definition loaded

This commit is contained in:
nathangray 2021-04-22 14:28:19 -06:00
parent a49ac9648e
commit 145b7efca2

View File

@ -217,7 +217,7 @@ use EGroupware\Api\Etemplate;
}
$data['appname'] = $preserve['appname'] = $appname ? $appname : ($definition_obj ? $definition_obj->application : '');
$data['definition'] = $definition;
$data['definition'] = is_numeric($definition) ? ($definition_obj ? $definition_obj->get_title() : '') : $definition;
$data['delimiter'] = $definition_obj->plugin_options['delimiter'];
$data['no_notifications'] = true; // switch notifications off by default