Переглянути джерело

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@609 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 роки тому
батько
коміт
022564a438
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      pages/ajax.csvimport.php

+ 1 - 1
pages/ajax.csvimport.php

@@ -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))