[Vtigercrm-commits] [vtiger-commits] r10440 - /vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 15 05:41:16 EDT 2007
Author: saraj
Date: Thu Mar 15 03:41:04 2007
New Revision: 10440
Log:
fix for Contacts is selected in Compose email box while sending mail from Accounts/Leads. Fixes #3070 --Minnie
Modified:
vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php
Modified: vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php Thu Mar 15 03:41:04 2007
@@ -798,15 +798,23 @@
//added by rdhital/Raju for better email support
elseif($uitype == 357)
{
- $contact_selected = 'selected';
- $account_selected = '';
- $lead_selected = '';
+ if($_REQUEST['pmodule'] == 'Contacts')
+ {
+ $contact_selected = 'selected';
+ }
+ elseif($_REQUEST['pmodule'] == 'Accounts')
+ {
+ $account_selected = 'selected';
+ }
+ elseif($_REQUEST['pmodule'] == 'Leads')
+ {
+ $lead_selected = 'selected';
+ }
if(isset($_REQUEST['emailids']) && $_REQUEST['emailids'] != '')
{
$parent_id = $_REQUEST['emailids'];
$parent_name='';
$pmodule=$_REQUEST['pmodule'];
-
$myids=explode("|",$parent_id);
for ($i=0;$i<(count($myids)-1);$i++)
{
More information about the vtigercrm-commits
mailing list