Fixed Trac #176: LinkSet attributes should never be proposed for CSV mapping

SVN:trunk[609]
This commit is contained in:
Denis Flaven
2010-07-16 07:57:27 +00:00
parent 957fe96af5
commit 628436be29

View File

@@ -126,7 +126,7 @@ function GetMappingForField($sClassName, $sFieldName, $iFieldIndex, $bAdvancedMo
}
}
}
else if ($oAttDef->IsWritable())
else if ( ($oAttDef->IsWritable()) && (!$oAttDef->IsLinkSet()) )
{
$aChoices[$sAttCode] = $oAttDef->GetLabel();
if ( ($sFieldName == $oAttDef->GetLabel()) || ($sFieldName == $sAttCode))