mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 12:59:47 +01:00
If there's only one export definition, select it by default
This commit is contained in:
parent
4759228faf
commit
a62484d106
@ -76,6 +76,9 @@ class importexport_export_ui {
|
|||||||
}
|
}
|
||||||
unset($definition);
|
unset($definition);
|
||||||
}
|
}
|
||||||
|
if(count($sel_options['definition']) == 2 && !$content['definition']) {
|
||||||
|
$content['definition'] = end($sel_options['definition']);
|
||||||
|
}
|
||||||
unset($definitions);
|
unset($definitions);
|
||||||
$sel_options['definition']['expert'] = lang('Expert options');
|
$sel_options['definition']['expert'] = lang('Expert options');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user