[Vtigercrm-commits] [vtiger-commits] r10285 - /vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 1 07:44:42 EST 2007
Author: saraj
Date: Thu Mar 1 05:44:38 2007
New Revision: 10285
Log:
adding email to contact from addon only if contact email id is present
Modified:
vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php
Modified: vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php (original)
+++ vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php Thu Mar 1 05:44:38 2007
@@ -762,7 +762,7 @@
left join vtiger_contactaddress on vtiger_contactaddress.contactaddressid=vtiger_contactdetails.contactid
LEFT JOIN vtiger_contactgrouprelation ON vtiger_contactdetails.contactid = vtiger_contactgrouprelation.contactid
LEFT JOIN vtiger_groups ON vtiger_groups.groupname = vtiger_contactgrouprelation.groupname
- where vtiger_crmentity.deleted=0 and vtiger_contactdetails.email like '%".$emailaddress."%'";
+ where vtiger_crmentity.deleted=0 and vtiger_contactdetails.email like '%".$emailaddress."%' and vtiger_contactdetails.email != ''";
$tab_id = getTabid("Contacts");
if($is_admin==false && $profileGlobalPermission[1] == 1 && $profileGlobalPermission[2] == 1 && $defaultOrgSharingPermission[$tab_id] == 3)
{
More information about the vtigercrm-commits
mailing list