silverstripe/sapphire — pull request #1819 by oddnoc (2013-04-30 00:30:03+00:00)
Title: Use the correct variable as the key into $record

It was using $fieldName, which is the CSV field name, not the database
field name. This prevents duplicate detection from working. It now
properly uses $SQL_fieldName