[Vtigercrm-commits] [vtiger-commits] r5305 - /vtigercrm/trunk/include/utils/CommonUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 24 13:10:50 EDT 2006
Author: saraj
Date: Mon Apr 24 11:10:46 2006
New Revision: 5305
Log:
Security Check Enabled for Quick Create - Ahmed
Modified:
vtigercrm/trunk/include/utils/CommonUtils.php
Modified: vtigercrm/trunk/include/utils/CommonUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/CommonUtils.php (original)
+++ vtigercrm/trunk/include/utils/CommonUtils.php Mon Apr 24 11:10:46 2006
@@ -1512,8 +1512,11 @@
{
$tablabel = $adb->query_result($result,$i,'tablabel');
$tabname = $adb->query_result($result,$i,'name');
- $return_qcmodule[] = $tablabel;
- $return_qcmodule[] = $tabname;
+ if(isPermitted($tabname,'EditView','') == 'yes')
+ {
+ $return_qcmodule[] = $tablabel;
+ $return_qcmodule[] = $tabname;
+ }
}
$return_qcmodule = array_chunk($return_qcmodule,2);
return $return_qcmodule;
More information about the vtigercrm-commits
mailing list