mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
ImportExport - fix create export from import fails with error
"Too few arguments to function importexport_definitions_ui::save(), 0 passed..."
This commit is contained in:
parent
2737ae2b99
commit
fdddeb1e84
@ -400,13 +400,13 @@ class importexport_definitions_ui
|
||||
$definition = new importexport_definition($id);
|
||||
try {
|
||||
$export = $bodefinitions->export_from_import($definition);
|
||||
$export->save();
|
||||
$export->save($definition->get_title());
|
||||
} catch (Exception $e) {
|
||||
if($export)
|
||||
{
|
||||
try {
|
||||
$export->name = $export->name.' ' . $GLOBALS['egw_info']['user']['account_lid'];
|
||||
$export->save();
|
||||
$export->save($export->name);
|
||||
} catch (Exception $ex) {
|
||||
$failed++;
|
||||
$msg .= lang('Duplicate name, please choose another.');
|
||||
|
Loading…
Reference in New Issue
Block a user