mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Only use the translation from wizard if it's there, otherwise leave it alone
This commit is contained in:
parent
867b0f5343
commit
d93f9f4869
@ -163,7 +163,7 @@ class importexport_export_csv implements importexport_iface_export_record
|
|||||||
$fields = $wizard->get_export_fields();
|
$fields = $wizard->get_export_fields();
|
||||||
foreach($this->mapping as $field => &$label)
|
foreach($this->mapping as $field => &$label)
|
||||||
{
|
{
|
||||||
$label = $fields[$field];
|
if($fields[$field]) $label = $fields[$field];
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
translation::add_app($appname);
|
translation::add_app($appname);
|
||||||
|
Loading…
Reference in New Issue
Block a user