[Vtigercrm-commits] [vtiger-commits] r4280 - /vtigercrm/trunk/include/utils/UserInfoUtil.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 17 06:52:28 EST 2006
Author: saraj
Date: Fri Mar 17 04:52:25 2006
New Revision: 4280
Log:
issue in addSharingRule and updatesharingrule has been fixed
Modified:
vtigercrm/trunk/include/utils/UserInfoUtil.php
Modified: vtigercrm/trunk/include/utils/UserInfoUtil.php
==============================================================================
--- vtigercrm/trunk/include/utils/UserInfoUtil.php (original)
+++ vtigercrm/trunk/include/utils/UserInfoUtil.php Fri Mar 17 04:52:25 2006
@@ -2863,7 +2863,7 @@
elseif($shareEntityType == 'groups' && $toEntityType == 'roles')
{
- $type_string='GRP::ROLES';
+ $type_string='GRP::ROLE';
$query = "insert into datashare_grp2role values(".$shareid.", ".$shareEntityId.", '".$toEntityId."', ".$sharePermission.")";
}
elseif($shareEntityType == 'groups' && $toEntityType == 'rs')
@@ -2949,7 +2949,7 @@
elseif($shareEntityType == 'groups' && $toEntityType == 'roles')
{
- $type_string='GRP::ROLES';
+ $type_string='GRP::ROLE';
$query = "insert into datashare_grp2role values(".$shareid.", ".$shareEntityId.", '".$toEntityId."', ".$sharePermission.")";
}
elseif($shareEntityType == 'groups' && $toEntityType == 'rs')
More information about the vtigercrm-commits
mailing list