mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +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);
|
||||
}
|
||||
if(count($sel_options['definition']) == 2 && !$content['definition']) {
|
||||
$content['definition'] = end($sel_options['definition']);
|
||||
}
|
||||
unset($definitions);
|
||||
$sel_options['definition']['expert'] = lang('Expert options');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user