[Vtigercrm-commits] [vtiger-commits] r7109 - /vtigercrm/trunk/modules/Settings/SaveConvertLead.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 15 03:21:57 EDT 2006
Author: don
Date: Thu Jun 15 01:21:53 2006
New Revision: 7109
Log:
prefixed vtiger_ in all table names
Modified:
vtigercrm/trunk/modules/Settings/SaveConvertLead.php
Modified: vtigercrm/trunk/modules/Settings/SaveConvertLead.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/SaveConvertLead.php (original)
+++ vtigercrm/trunk/modules/Settings/SaveConvertLead.php Thu Jun 15 01:21:53 2006
@@ -15,7 +15,7 @@
//echo"<h3> In Save</h3>";
- $sql="select vtiger_fieldid from vtiger_field, vtiger_tab where vtiger_field.tabid=vtiger_tab.tabid and generatedtype=2 and vtiger_tab.name='Leads';";
+ $sql="select fieldid from vtiger_field, vtiger_tab where vtiger_field.tabid=vtiger_tab.tabid and generatedtype=2 and vtiger_tab.name='Leads';";
// echo $sql;
$result = $adb->query($sql);
$noofrows = $adb->num_rows($result);
@@ -43,7 +43,7 @@
{
$potential_id_val="";
}
- $update_sql="update vtiger_convertleadmapping set vtiger_accountfid='".$account_id_val."',contactfid='".$contact_id_val."',potentialfid='".$potential_id_val."' where leadfid=".$lead_id;
+ $update_sql="update vtiger_convertleadmapping set accountfid='".$account_id_val."',contactfid='".$contact_id_val."',potentialfid='".$potential_id_val."' where leadfid=".$lead_id;
$adb->query($update_sql);
}
More information about the vtigercrm-commits
mailing list