[Vtigercrm-commits] [vtiger-commits] r9065 - /vtigercrm/trunk/modules/Import/ImportStep2.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Aug 22 06:47:28 EDT 2006


Author: saraj
Date: Tue Aug 22 04:47:24 2006
New Revision: 9065

Log:
* Added double quotes with the fieldnames, becuase it did not allow import when we import otherphone first and phone second

Modified:
    vtigercrm/trunk/modules/Import/ImportStep2.php

Modified: vtigercrm/trunk/modules/Import/ImportStep2.php
==============================================================================
--- vtigercrm/trunk/modules/Import/ImportStep2.php (original)
+++ vtigercrm/trunk/modules/Import/ImportStep2.php Tue Aug 22 04:47:24 2006
@@ -375,10 +375,10 @@
 
 		if(optionData != -1)
 		{
-			tmp = seq_string.indexOf(optionData);
+			tmp = seq_string.indexOf("\""+optionData+"\"");
 			if(tmp == -1)
 			{
-				seq_string = seq_string + optionData;
+				seq_string = seq_string + "\""+optionData+"\"";
 			}
 			else
 			{





More information about the vtigercrm-commits mailing list