diff --git a/timesheet/inc/class.timesheet_export_csv.inc.php b/timesheet/inc/class.timesheet_export_csv.inc.php index 191b84572d..bb00313bf2 100644 --- a/timesheet/inc/class.timesheet_export_csv.inc.php +++ b/timesheet/inc/class.timesheet_export_csv.inc.php @@ -54,7 +54,7 @@ class timesheet_export_csv implements importexport_iface_export_plugin { 'ts_status' => $uitimesheet->status_labels+array(lang('No status')) ); foreach($lookups['ts_status'] as &$status) { - $status = html_entity_decode($status); // Remove + $status = trim(html_entity_decode($status)); // Remove } // $options['selection'] is array of identifiers as this plugin doesn't