Remove   using string replace

This commit is contained in:
Nathan Gray 2011-03-31 15:19:22 +00:00
parent ae48c17417
commit ddabb6a46f

View File

@ -54,7 +54,7 @@ class timesheet_export_csv implements importexport_iface_export_plugin {
'ts_status' => $uitimesheet->status_labels+array(lang('No status')) 'ts_status' => $uitimesheet->status_labels+array(lang('No status'))
); );
foreach($lookups['ts_status'] as &$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 // $options['selection'] is array of identifiers as this plugin doesn't