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