[Vtigercrm-commits] [vtiger-commits] r9422 - /vtigercrm/trunk/include/utils/DetailViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Sep 11 11:31:26 EDT 2006
Author: richie
Date: Mon Sep 11 09:31:14 2006
New Revision: 9422
Log:
Fixed the Sales Profile Issue when viewing events
Modified:
vtigercrm/trunk/include/utils/DetailViewUtils.php
Modified: vtigercrm/trunk/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/DetailViewUtils.php Mon Sep 11 09:31:14 2006
@@ -225,9 +225,9 @@
$label_fld["link"][] = "index.php?module=Users&action=GroupDetailView&groupId=".$groupid;
}
//Security Checks
- if($fieldlabel == 'Assigned To' && $is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid($module_name)] == 3 or $defaultOrgSharingPermission[getTabid($module_name)] == 0))
- {
- $result=get_current_user_access_groups($module_name);
+ if($fieldlabel == 'Assigned To' && $is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid($module)] == 3 or $defaultOrgSharingPermission[getTabid($module)] == 0))
+ {
+ $result=get_current_user_access_groups($module);
}
else
{
@@ -269,7 +269,7 @@
}
}
- if($fieldlabel == 'Assigned To' && $is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid($module_name)] == 3 or $defaultOrgSharingPermission[getTabid($module_name)] == 0))
+ if($fieldlabel == 'Assigned To' && $is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid($module)] == 3 or $defaultOrgSharingPermission[getTabid($module)] == 0))
{
$users_combo = get_select_options_array(get_user_array(FALSE, "Active", $assigned_user_id,'private'), $assigned_user_id);
}
More information about the vtigercrm-commits
mailing list