Skip to content
Snippets Groups Projects
Commit e0064688 authored by Alex Barth's avatar Alex Barth
Browse files

Trim keys to allow clean mapping.

parent 2ff1db0a
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment