Browse Source

Fixed regression due to the enhanced security (ignore a field in CSV import)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1489 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 years ago
parent
commit
e8d316035d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/csvimport.php

+ 1 - 1
pages/csvimport.php

@@ -198,7 +198,7 @@ try
 		$bHeaderLine = (utils::ReadParam('header_line', '0') == 1);
 		$iRealSkippedLines = $iSkippedLines = utils::ReadParam('nb_skipped_lines', '0');
 		$sClassName = utils::ReadParam('class_name', '', false, 'class');
-		$aFieldsMapping = utils::ReadParam('field', array(), false, 'field_name');
+		$aFieldsMapping = utils::ReadParam('field', array(), false, 'raw_data');
 		$aSearchFields = utils::ReadParam('search_field', array(), false, 'field_name');
 		$iCurrentStep = $bSimulate ? 4 : 5;
 		$bAdvanced = utils::ReadParam('advanced', 0);