[Vtigercrm-commits] [vtiger-commits] r10073 - /vtigercrm/branches/5.0.3/include/utils/UserInfoUtil.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jan 16 09:22:49 EST 2007


Author: richie
Date: Tue Jan 16 07:22:40 2007
New Revision: 10073

Log:
Security issue fixed

Modified:
    vtigercrm/branches/5.0.3/include/utils/UserInfoUtil.php

Modified: vtigercrm/branches/5.0.3/include/utils/UserInfoUtil.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/UserInfoUtil.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/UserInfoUtil.php Tue Jan 16 07:22:40 2007
@@ -1542,7 +1542,7 @@
 	if($record_id != '')
 	{
 		//if($module == 'Notes' || $module == 'Products' || $module == 'Faq' || $module == 'Vendors'  || $module == 'PriceBooks')
-		if(getTabOwnedBy($module) == 0)
+		if(getTabOwnedBy($module) == 1)
 		{
 			$permission = "yes";
 			$log->debug("Exiting isPermitted method ...");





More information about the vtigercrm-commits mailing list