Cast preference to array to prevent blanks

This commit is contained in:
Nathan Gray 2010-11-23 15:15:48 +00:00
parent b522daf825
commit 4769db9539

View File

@ -173,7 +173,7 @@ class importexport_export_ui {
disable_button('exec[export]');
");
}
$content = array_merge($content,$GLOBALS['egw_info']['user']['preferences']['importexport'][$definition->definition_id]);
$content = array_merge($content,(array)$GLOBALS['egw_info']['user']['preferences']['importexport'][$definition->definition_id]);
unset ($plugin_object);
(array)$apps = importexport_helper_functions::get_apps('export');
$sel_options['appname'] = array('' => lang('Select one')) + array_combine($apps,$apps);