From 4769db9539dd0f5bdf30f4b68dfb76c2b8e18f81 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 23 Nov 2010 15:15:48 +0000 Subject: [PATCH] Cast preference to array to prevent blanks --- importexport/inc/class.importexport_export_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_export_ui.inc.php b/importexport/inc/class.importexport_export_ui.inc.php index 01206f4ed5..b5a655581f 100644 --- a/importexport/inc/class.importexport_export_ui.inc.php +++ b/importexport/inc/class.importexport_export_ui.inc.php @@ -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);