mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix status merge, strip spaces
This commit is contained in:
parent
ddabb6a46f
commit
949d06dce9
@ -102,10 +102,13 @@ class timesheet_merge extends bo_merge
|
|||||||
// Convert to human friendly values
|
// Convert to human friendly values
|
||||||
$types = timesheet_export_csv::$types;
|
$types = timesheet_export_csv::$types;
|
||||||
$_selects = array('status' => $this->bo->status_labels);
|
$_selects = array('status' => $this->bo->status_labels);
|
||||||
|
foreach($_selects['status'] as &$status)
|
||||||
|
{
|
||||||
|
$status = str_replace(' ', '', $status);
|
||||||
|
}
|
||||||
foreach($_selects as $name => $value)
|
foreach($_selects as $name => $value)
|
||||||
{
|
{
|
||||||
$selects['ts_'.$name] = $value;
|
$selects['ts_'.$name] = $value;
|
||||||
$types['select'][] = 'ts_'.$name;
|
|
||||||
}
|
}
|
||||||
importexport_export_csv::convert($record, $types, 'timesheet', $selects);
|
importexport_export_csv::convert($record, $types, 'timesheet', $selects);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user