mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
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]
|
||||
);
|
||||
if($field == 'cat_id') {
|
||||
$sel_options['explode_multiselects'][$row] = $cat_options;
|
||||
$sel_options['explode_multiselects'][$row]['explode'] = $cat_options;
|
||||
} else {
|
||||
$sel_options['explode_multiselects'][$row] = $multi_options;
|
||||
$sel_options['explode_multiselects'][$row]['explode'] = $multi_options;
|
||||
}
|
||||
$row++;
|
||||
}
|
||||
// Cheat server side validation, which can't handle different options per row
|
||||
$sel_options['explode'] = $cat_options + $multi_options;
|
||||
$preserv = $content;
|
||||
//_debug_array($content['explode_multiselects']);
|
||||
return $this->step_templates[$content['step']];
|
||||
|
Loading…
Reference in New Issue
Block a user