diff --git a/plugins/FeedsCSVParser.inc b/plugins/FeedsCSVParser.inc index 4d3be593d538b95450a0ada90b3ecb7825b558c4..6b0ae31cc289e97e91598133b6f6a3e5b5e5b05a 100644 --- a/plugins/FeedsCSVParser.inc +++ b/plugins/FeedsCSVParser.inc @@ -26,7 +26,7 @@ class FeedsCSVParser extends FeedsParser { // @todo Push this functionality into ParserCSV. $header = array_shift($rows); foreach ($header as $i => $title) { - $header[$i] = drupal_strtolower($title); // Use lower case only. + $header[$i] = trim(drupal_strtolower($title)); // Use lower case only. } $result_rows = array(); foreach ($rows as $i => $row) {