mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Don't cast to array, it's often scalar
This commit is contained in:
parent
96a6514c49
commit
ce38993281
@ -171,7 +171,7 @@ class importexport_export_ui {
|
|||||||
} else {
|
} else {
|
||||||
$options = $plugin_object->get_selectors_etpl();
|
$options = $plugin_object->get_selectors_etpl();
|
||||||
if(is_array($options)) {
|
if(is_array($options)) {
|
||||||
$content['selection'] = (array)$options['content'];
|
$content['selection'] = $options['content'];
|
||||||
$sel_options += (array)$options['sel_options'];
|
$sel_options += (array)$options['sel_options'];
|
||||||
$readonlys['selection'] = (array)$options['readonlys'];
|
$readonlys['selection'] = (array)$options['readonlys'];
|
||||||
$preserv['selection'] = (array)$options['preserv'];
|
$preserv['selection'] = (array)$options['preserv'];
|
||||||
|
Loading…
Reference in New Issue
Block a user