From 587ffbcf28a444467c87f06c95de85df3c4067e5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 16 Aug 2010 14:57:36 +0000 Subject: [PATCH] fixed fatal error: unsupported operand typ --- importexport/inc/class.importexport_import_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_import_ui.inc.php b/importexport/inc/class.importexport_import_ui.inc.php index b76181a301..70dda8dd88 100644 --- a/importexport/inc/class.importexport_import_ui.inc.php +++ b/importexport/inc/class.importexport_import_ui.inc.php @@ -48,7 +48,7 @@ try { $definition_obj = new importexport_definition($content['definition']); if($content['dry-run']) { - $definition_obj->plugin_options = $definition_obj->plugin_options + array('dry_run' => true); + $definition_obj->plugin_options = (array)$definition_obj->plugin_options + array('dry_run' => true); } $plugin = new $definition_obj->plugin; $file = fopen($content['file']['tmp_name'], 'r');