Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
022564a438
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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))