Przeglądaj źródła

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 lat temu
rodzic
commit
022564a438
1 zmienionych plików z 1 dodań i 1 usunięć
  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))