Undefined variable BugFix in import_csv()

"cur" must actually be "cursor"