forked from extern/egroupware
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
|
||||
$types = timesheet_export_csv::$types;
|
||||
$_selects = array('status' => $this->bo->status_labels);
|
||||
foreach($_selects['status'] as &$status)
|
||||
{
|
||||
$status = str_replace(' ', '', $status);
|
||||
}
|
||||
foreach($_selects as $name => $value)
|
||||
{
|
||||
$selects['ts_'.$name] = $value;
|
||||
$types['select'][] = 'ts_'.$name;
|
||||
}
|
||||
importexport_export_csv::convert($record, $types, 'timesheet', $selects);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user