From ddabb6a46fde8db6721b1e3e60169607faf3826a Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 31 Mar 2011 15:19:22 +0000 Subject: [PATCH] Remove   using string replace --- timesheet/inc/class.timesheet_export_csv.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesheet/inc/class.timesheet_export_csv.inc.php b/timesheet/inc/class.timesheet_export_csv.inc.php index bb00313bf2..2cebe49614 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 = trim(html_entity_decode($status)); // Remove   + $status = str_replace(' ','',$status); // Remove   } // $options['selection'] is array of identifiers as this plugin doesn't