[Vtigercrm-commits] [vtiger-commits] r4442 - /vtigercrm/branches/4.2_postgresql_integration/modules/Leads/LeadConvertToEntities.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 27 02:54:16 EST 2006


Author: allanbush
Date: Mon Mar 27 00:54:14 2006
New Revision: 4442

Log:
Removed extra set of quotes in query.  Ref #17

Modified:
    vtigercrm/branches/4.2_postgresql_integration/modules/Leads/LeadConvertToEntities.php

Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Leads/LeadConvertToEntities.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Leads/LeadConvertToEntities.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Leads/LeadConvertToEntities.php Mon Mar 27 00:54:14 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