Browse Source

CSV import: "Ignore this field" can be used more than one time in the mapping.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3259 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 năm trước cách đây
mục cha
commit
6b052f3492
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/csvimport.php

+ 1 - 1
pages/csvimport.php

@@ -993,7 +993,7 @@ EOF
 						iOccurences++;
 						iOccurences++;
 					}
 					}
 				});
 				});
-				if (iOccurences > 1)
+				if ((iOccurences > 1) && (sRefValue != ':none:'))
 				{
 				{
 					$(this).parent().css({'border': '2px #D81515 solid'});
 					$(this).parent().css({'border': '2px #D81515 solid'});
 					bResult = false; 
 					bResult = false;