[Vtigercrm-commits] [vtiger-commits] r5435 - /vtigercrm/trunk/modules/Emails/EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 03:05:38 EDT 2006
Author: don
Date: Thu Apr 27 01:05:34 2006
New Revision: 5435
Log:
Removed call to tabPerData
Modified:
vtigercrm/trunk/modules/Emails/EditView.php
Modified: vtigercrm/trunk/modules/Emails/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/EditView.php (original)
+++ vtigercrm/trunk/modules/Emails/EditView.php Thu Apr 27 01:05:34 2006
@@ -25,6 +25,7 @@
require_once('modules/Emails/Email.php');
require_once('modules/Emails/Forms.php');
require_once('include/utils/utils.php');
+require_once('include/utils/UserInfoUtil.php');
require_once('include/FormValidationUtil.php');
global $log;
@@ -56,7 +57,7 @@
$cur_mod = $sec_arr[$filename];
$cur_tabid = getTabid($cur_mod);
- if($tab_per_Data[$cur_tabid] == 0)
+ if(isPermitted($cur_mod,'','') == 'yes')
{
list($lbl,$sname,$title)=split("_",$label);
More information about the vtigercrm-commits
mailing list