[Vtigercrm-commits] [vtiger-commits] r7476 - in /vtigercrm/trunk/modules: Contacts/Contact.php Leads/Lead.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 09:41:46 EDT 2006


Author: saraj
Date: Fri Jun 23 07:41:41 2006
New Revision: 7476

Log:
returnset has been set

Modified:
    vtigercrm/trunk/modules/Contacts/Contact.php
    vtigercrm/trunk/modules/Leads/Lead.php

Modified: vtigercrm/trunk/modules/Contacts/Contact.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/Contact.php (original)
+++ vtigercrm/trunk/modules/Contacts/Contact.php Fri Jun 23 07:41:41 2006
@@ -494,6 +494,7 @@
 		global $mod_strings;
 
 		$focus = new Campaign();
+		$returnset = '&return_module=Contacts&return_action=CallRelatedList&return_id='.$id;
 		$button = '';
 
 		$returnset = '';

Modified: vtigercrm/trunk/modules/Leads/Lead.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/Lead.php (original)
+++ vtigercrm/trunk/modules/Leads/Lead.php Fri Jun 23 07:41:41 2006
@@ -211,7 +211,7 @@
 	$focus = new Campaign();
 	$button = '';
 
-	$returnset = '';
+	$returnset = '&return_module=Leads&return_action=CallRelatedList&return_id='.$id;
 	$log->info("Campaign Related List for Lead Displayed");
 	$query = "SELECT vtiger_users.user_name, vtiger_campaign.campaignid, vtiger_campaign.campaignname, vtiger_campaign.campaigntype, vtiger_campaign.campaignstatus, vtiger_campaign.expectedrevenue, vtiger_campaign.closingdate, vtiger_crmentity.crmid, vtiger_crmentity.smownerid, vtiger_crmentity.modifiedtime from vtiger_campaign inner join vtiger_campaignleadrel on vtiger_campaignleadrel.campaignid=vtiger_campaign.campaignid inner join vtiger_crmentity on vtiger_crmentity.crmid = vtiger_campaign.campaignid left join vtiger_campaigngrouprelation on vtiger_campaign.campaignid=vtiger_campaigngrouprelation.campaignid left join vtiger_groups on vtiger_groups.groupname=vtiger_campaigngrouprelation.groupname left join vtiger_users on vtiger_users.id = vtiger_crmentity.smownerid where vtiger_campaignleadrel.leadid=".$id." and vtiger_crmentity.deleted=0";
 





More information about the vtigercrm-commits mailing list