From ce38993281915e16b9f05f45be0c5ffef4f3c38e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 28 Mar 2011 21:51:35 +0000 Subject: [PATCH] Don't cast to array, it's often scalar --- 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 85d4cd681c..3219ba2550 100644 --- a/importexport/inc/class.importexport_export_ui.inc.php +++ b/importexport/inc/class.importexport_export_ui.inc.php @@ -171,7 +171,7 @@ class importexport_export_ui { } else { $options = $plugin_object->get_selectors_etpl(); if(is_array($options)) { - $content['selection'] = (array)$options['content']; + $content['selection'] = $options['content']; $sel_options += (array)$options['sel_options']; $readonlys['selection'] = (array)$options['readonlys']; $preserv['selection'] = (array)$options['preserv'];