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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 11 11:58:35 EDT 2007


Author: richie
Date: Wed Apr 11 09:58:27 2007
New Revision: 10649

Log:
* Fixed the issue in Qualify mail, Fixed #3517

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 Apr 11 09:58:27 2007
@@ -54,7 +54,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');
 
-if($email->relationship != 0) {
+if(count($email->relationship) != 0) {
 	$focus->column_fields['parent_id']=$email->relationship["id"].'@'.$fieldid.'|';
 
 	if($email->relationship["type"] == "Contacts")





More information about the vtigercrm-commits mailing list