silverstripe/sapphire — pull request #1821 by oddnoc (2013-04-30 00:31:26+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