Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
modified csv import class for the DBImport tool. Wrong usage of trim()
Browse files Browse the repository at this point in the history
git-svn-id: https://seedframework.svn.sourceforge.net/svnroot/seedframework/trunk@503 e74265ba-5712-0410-b544-ed03b9d7f503
  • Loading branch information
dtportnoy69 committed Aug 29, 2007
1 parent b1babc3 commit 5ffeb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/lib/import.php
Expand Up @@ -269,7 +269,7 @@ function get_csv_data($import_data){
$cur_data = $data[$c];

if(!isset($reserved_csvfield[$c]) && $field_names[$c] != 'blank') {
$all_data[$row][$field_names[$c]] = trim(htmlentities($cur_data), ' ');
$all_data[$row][$field_names[$c]] = trim(htmlentities($cur_data));
}
}
}
Expand Down

0 comments on commit 5ffeb21

Please sign in to comment.