[Vtigercrm-commits] [vtiger-commits] r7086 - /vtigercrm/trunk/modules/Contacts/CallRelatedList.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 14 08:24:51 EDT 2006


Author: saraj
Date: Wed Jun 14 06:24:47 2006
New Revision: 7086

Log:
query has been modified

Modified:
    vtigercrm/trunk/modules/Contacts/CallRelatedList.php

Modified: vtigercrm/trunk/modules/Contacts/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Contacts/CallRelatedList.php Wed Jun 14 06:24:47 2006
@@ -29,11 +29,11 @@
 }
 
 global $adb;
-$sql = $adb->query('select vtiger_accountid from vtiger_contactdetails where contactid='.$focus->id);
+$sql = $adb->query('select accountid from vtiger_contactdetails where contactid='.$focus->id);
 $accountid = $adb->query_result($sql,0,'accountid');
 if($accountid == 0) $accountid='';
 
-$sql1 = $adb->query('select vtiger_campaignid from vtiger_contactdetails where contactid='.$focus->id);
+$sql1 = $adb->query('select campaignid from vtiger_contactdetails where contactid='.$focus->id);
 $campaignid = $adb->query_result($sql1,0,'campaignid');
 if($campaignid == 0) $campaignid='';
 





More information about the vtigercrm-commits mailing list