mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix multiselects go missing when importing
This commit is contained in:
parent
02f0936f9c
commit
a8e27f2fad
@ -318,7 +318,7 @@ class importexport_export_csv implements importexport_iface_export_record
|
||||
}
|
||||
foreach((array)$fields['select'] as $name) {
|
||||
if($record->$name != null && is_array($selects) && $selects[$name]) {
|
||||
$record->$name = explode(',', $record->$name);
|
||||
$record->$name = is_string($record->$name) ? explode(',', $record->$name) : $record->$name;
|
||||
if(is_array($record->$name)) {
|
||||
$names = array();
|
||||
foreach($record->$name as $_name) {
|
||||
|
Loading…
Reference in New Issue
Block a user