[Vtigercrm-commits] [vtiger-commits] r7486 - /vtigercrm/trunk/modules/Webmails/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jun 24 03:26:11 EDT 2006


Author: mmbrich
Date: Sat Jun 24 01:26:10 2006
New Revision: 7486

Log:
fix for Qualify action

Modified:
    vtigercrm/trunk/modules/Webmails/Save.php

Modified: vtigercrm/trunk/modules/Webmails/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/Save.php (original)
+++ vtigercrm/trunk/modules/Webmails/Save.php Sat Jun 24 01:26:10 2006
@@ -77,7 +77,8 @@
 
 
 //to save the email details in vtiger_emaildetails vtiger_tables
-$fieldid = $adb->query_result($adb->query('select vtiger_fieldid from vtiger_field where vtiger_tablename="contactdetails" and vtiger_fieldname="email" and columnname="email"'),0,'fieldid');
+$fieldid = $adb->query_result($adb->query('select fieldid from vtiger_field where tablename="contactdetails" and fieldname="email" and columnname="email"'),0,'fieldid');
+
 if($email->relationship != 0) {
 	$focus->column_fields['parent_id']=$email->relationship["id"].'@'.$fieldid.'|';
 





More information about the vtigercrm-commits mailing list