forked from extern/egroupware
Avoid server side validation error.
Fixes can't go further than choosing how addressbook categories get exported.
This commit is contained in:
parent
8673bad279
commit
57bd7c7a9b
@ -107,12 +107,14 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
|
|||||||
'explode'=> $settings[$field]
|
'explode'=> $settings[$field]
|
||||||
);
|
);
|
||||||
if($field == 'cat_id') {
|
if($field == 'cat_id') {
|
||||||
$sel_options['explode_multiselects'][$row] = $cat_options;
|
$sel_options['explode_multiselects'][$row]['explode'] = $cat_options;
|
||||||
} else {
|
} else {
|
||||||
$sel_options['explode_multiselects'][$row] = $multi_options;
|
$sel_options['explode_multiselects'][$row]['explode'] = $multi_options;
|
||||||
}
|
}
|
||||||
$row++;
|
$row++;
|
||||||
}
|
}
|
||||||
|
// Cheat server side validation, which can't handle different options per row
|
||||||
|
$sel_options['explode'] = $cat_options + $multi_options;
|
||||||
$preserv = $content;
|
$preserv = $content;
|
||||||
//_debug_array($content['explode_multiselects']);
|
//_debug_array($content['explode_multiselects']);
|
||||||
return $this->step_templates[$content['step']];
|
return $this->step_templates[$content['step']];
|
||||||
|
Loading…
Reference in New Issue
Block a user