[Vtigercrm-commits] [vtiger-commits] r5442 - in /vtigercrm/trunk/modules/HelpDesk: DetailView.php ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 03:45:23 EDT 2006


Author: saraj
Date: Thu Apr 27 01:45:18 2006
New Revision: 5442

Log:
Added the Security Check for Buttons in List/Detail View of HelpDesk Module - Ahmed

Modified:
    vtigercrm/trunk/modules/HelpDesk/DetailView.php
    vtigercrm/trunk/modules/HelpDesk/ListView.php

Modified: vtigercrm/trunk/modules/HelpDesk/DetailView.php
==============================================================================
Binary files - no diff available.

Modified: vtigercrm/trunk/modules/HelpDesk/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/ListView.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/ListView.php Thu Apr 27 01:45:18 2006
@@ -72,7 +72,7 @@
         $CActionDtls = $oCustomView->getCustomActionDetails($viewid);
 }
 // Buttons and View options
-if(isPermitted('HelpDesk',2,'') == 'yes')
+if(isPermitted('HelpDesk','Delete','') == 'yes')
 	$other_text['del'] = $app_strings[LBL_MASS_DELETE];
 
 if($viewnamedesc['viewname'] == 'All')





More information about the vtigercrm-commits mailing list