[Vtigercrm-commits] [vtiger-commits] r5062 - /vtigercrm/trunk/modules/Import/ImportStep4.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 11 12:01:55 EDT 2006
Author: saraj
Date: Tue Apr 11 10:01:48 2006
New Revision: 5062
Log:
Modified the ImportStep4.php file for smartification & new ui integration of Import Module - Ahmed
Modified:
vtigercrm/trunk/modules/Import/ImportStep4.php
Modified: vtigercrm/trunk/modules/Import/ImportStep4.php
==============================================================================
--- vtigercrm/trunk/modules/Import/ImportStep4.php (original)
+++ vtigercrm/trunk/modules/Import/ImportStep4.php Tue Apr 11 10:01:48 2006
@@ -20,6 +20,7 @@
* Contributor(s): ______________________________________..
********************************************************************************/
+require_once('Smarty_setup.php');
require_once('data/Tracker.php');
require_once('modules/Import/ImportContact.php');
require_once('modules/Import/ImportAccount.php');
@@ -118,6 +119,7 @@
$custFldArray = getCustomFieldArray($_REQUEST['module']);
p("IMP 4: custFldArray");
p($custFldArray);
+
//Initializing an empty Array to store the custom field Column Name and Value
$resCustFldArray = Array();
@@ -128,11 +130,12 @@
p("name=".$name." value=".$value);
// only look for var names that start with "colnum"
if ( strncasecmp( $name, "colnum", 6) != 0 )
- {
+ {
continue;
}
if ($value == "-1")
{
+
continue;
}
@@ -160,8 +163,8 @@
p("user_field SET=".$user_field);
// now mark that we've seen this field
$field_to_pos[$user_field] = $pos;
-
$col_pos_to_field[$pos] = $user_field;
+
}
}
More information about the vtigercrm-commits
mailing list