Index: branches/5.2.x/core/units/helpers/language_import_helper.php =================================================================== diff -u -N -r14585 -r14628 --- branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 14585) +++ branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 14628) @@ -1,6 +1,6 @@ Application->getUnitOption($prefix, 'IDField'); + $id_field = $this->Application->getUnitOption($prefix, 'IDField'); $table = $this->Application->getUnitOption($prefix,'TableName'); $temp_table = $this->Application->GetTempName($table); @@ -633,7 +637,7 @@ $this->Conn->Query($sql); $sql = 'ALTER TABLE %1$s CHANGE %2$s %2$s INT(11) NOT NULL DEFAULT "0"'; - $this->Conn->Query( sprintf($sql, $temp_table, $idfield) ); + $this->Conn->Query( sprintf($sql, $temp_table, $id_field) ); switch ($prefix) { case 'phrases':