[Vtigercrm-commits] [vtiger-commits] r7201 - /vtigercrm/branches/4.2.4.1/modules/Leads/LeadConvertToEntities.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 16 17:20:26 EDT 2006


Author: allanbush
Date: Fri Jun 16 15:20:23 2006
New Revision: 7201

Log:
Fixes query error when converting leads.  Closes #1312.

Modified:
    vtigercrm/branches/4.2.4.1/modules/Leads/LeadConvertToEntities.php

Modified: vtigercrm/branches/4.2.4.1/modules/Leads/LeadConvertToEntities.php
==============================================================================
--- vtigercrm/branches/4.2.4.1/modules/Leads/LeadConvertToEntities.php (original)
+++ vtigercrm/branches/4.2.4.1/modules/Leads/LeadConvertToEntities.php Fri Jun 16 15:20:23 2006
@@ -279,7 +279,7 @@
 $adb->query($sql_insert_contact);
 
 
-$sql_insert_contactsubdetails = "INSERT INTO contactsubdetails (contactsubscriptionid,homephone,otherphone,leadsource) VALUES (".$contact_id.",'','','".$adb->quote($row['leadsource'])."')";
+$sql_insert_contactsubdetails = "INSERT INTO contactsubdetails (contactsubscriptionid,homephone,otherphone,leadsource) VALUES (".$contact_id.",'','',".$adb->quote($row['leadsource']).")";
 
 $adb->query($sql_insert_contactsubdetails);
 





More information about the vtigercrm-commits mailing list