[Vtigercrm-commits] [vtiger-commits] r10160 - /vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Feb 9 04:24:26 EST 2007
Author: saraj
Date: Fri Feb 9 02:24:19 2007
New Revision: 10160
Log:
Email and Yahoo variables in Contacts/DetailView.php are not supplied to Smarty fixed. Fixes #2991 and #3000
Modified:
vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php
Modified: vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php Fri Feb 9 02:24:19 2007
@@ -85,8 +85,6 @@
$parent_email = getEmailParentsList('Contacts',$_REQUEST['record']);
$smarty->assign("HIDDEN_PARENTS_LIST",$parent_email);
$smarty->assign("SENDMAILBUTTON","permitted");
- $smarty->assign("EMAIL", $focus->column_fields['email']);
- $smarty->assign("YAHOO", $focus->column_fields['yahooid']);
}
if(isPermitted("Contacts","Merge",'') == 'yes')
@@ -121,6 +119,9 @@
$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+$smarty->assign("EMAIL",$focus->column_fields['email']);
+$smarty->assign("YAHOO",$focus->column_fields['yahooid']);
+
$smarty->assign("MODULE",$currentModule);
$smarty->assign("EDIT_PERMISSION",isPermitted($currentModule,'EditView',$_REQUEST[record]));
$smarty->assign("IS_REL_LIST",isPresentRelatedLists($currentModule));
More information about the vtigercrm-commits
mailing list