[Vtigercrm-commits] [vtiger-commits] r7505 - /vtigercrm/trunk/include/utils/UserInfoUtil.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Jun 26 01:42:58 EDT 2006


Author: richie
Date: Sun Jun 25 23:42:54 2006
New Revision: 7505

Log:
groupid added in get_current_user_access_groups function 

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 Sun Jun 25 23:42:54 2006
@@ -4433,7 +4433,7 @@
 	global $adb,$noof_group_rows;
 	$current_user_group_list=getCurrentUserGroupList();
 	$sharing_write_group_list=getWriteSharingGroupsList($module);
-	$query ="select groupname from vtiger_groups";
+	$query ="select groupname,groupid from vtiger_groups";
 	if($current_user_group_list != '' && $sharing_write_group_list != '')
 	{
 		$query .= " where (groupid in".$current_user_group_list." or groupid in".$sharing_write_group_list.")";





More information about the vtigercrm-commits mailing list