[Vtigercrm-commits] [vtiger-commits] r9459 - /vtigercrm/trunk/modules/CustomView/ListViewTop.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 12 17:45:19 EDT 2006
Author: richie
Date: Tue Sep 12 15:45:08 2006
New Revision: 9459
Log:
Security check for home page key metrics done
Modified:
vtigercrm/trunk/modules/CustomView/ListViewTop.php
Modified: vtigercrm/trunk/modules/CustomView/ListViewTop.php
==============================================================================
--- vtigercrm/trunk/modules/CustomView/ListViewTop.php (original)
+++ vtigercrm/trunk/modules/CustomView/ListViewTop.php Tue Sep 12 15:45:08 2006
@@ -138,8 +138,8 @@
$metricslist['name'] = $cvrow['viewname'];
$metricslist['module'] = $cvrow['entitytype'];
$metricslist['count'] = '';
-
- $metriclists[] = $metricslist;
+ if(isPermitted($cvrow['entitytype'],"index") == "yes")
+ $metriclists[] = $metricslist;
}
return $metriclists;
More information about the vtigercrm-commits
mailing list