mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Translate select options
This commit is contained in:
parent
6f2050fa7e
commit
5101ac5c03
@ -281,11 +281,11 @@ class importexport_export_csv implements importexport_iface_export_record
|
||||
if(is_array($record->$name)) {
|
||||
$names = array();
|
||||
foreach($record->$name as $_name) {
|
||||
$names[] = $selects[$name][$_name];
|
||||
$names[] = lang($selects[$name][$_name]);
|
||||
}
|
||||
$record->$name = implode(', ', $names);
|
||||
} else {
|
||||
$record->$name = $selects[$name][$record->$name];
|
||||
$record->$name = lang($selects[$name][$record->$name]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user