[Vtigercrm-commits] [vtiger-commits] r11159 - /vtigercrm/branches/5.0.3/modules/Webmails/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 30 07:04:39 EDT 2007


Author: richie
Date: Wed May 30 05:04:35 2007
New Revision: 11159

Log:
* Changed the tablename

Modified:
    vtigercrm/branches/5.0.3/modules/Webmails/Save.php

Modified: vtigercrm/branches/5.0.3/modules/Webmails/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/Save.php Wed May 30 05:04:35 2007
@@ -57,7 +57,7 @@
 
 
 //to save the email details in vtiger_emaildetails vtiger_tables
-$fieldid = $adb->query_result($adb->query('select fieldid from vtiger_field where tablename="contactdetails" and fieldname="email" and columnname="email"'),0,'fieldid');
+$fieldid = $adb->query_result($adb->query('select fieldid from vtiger_field where tablename="vtiger_contactdetails" and fieldname="email" and columnname="email"'),0,'fieldid');
 
 if(count($email->relationship) != 0) {
 	$focus->column_fields['parent_id']=$email->relationship["id"].'@'.$fieldid.'|';





More information about the vtigercrm-commits mailing list