[Vtigercrm-commits] [vtiger-commits] r5524 - /vtigercrm/trunk/modules/Activities/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 19:24:09 EDT 2006
Author: saraj
Date: Thu Apr 27 17:24:05 2006
New Revision: 5524
Log:
Enabled the Security check for each record in list view for all modules-Ahmed
Modified:
vtigercrm/trunk/modules/Activities/ListView.php
Modified: vtigercrm/trunk/modules/Activities/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/ListView.php (original)
+++ vtigercrm/trunk/modules/Activities/ListView.php Thu Apr 27 17:24:05 2006
@@ -42,6 +42,14 @@
$smarty = new vtigerCRM_Smarty;
$other_text = Array();
+if($_REQUEST['errormsg'] != '')
+{
+ $errormsg = $_REQUEST['errormsg'];
+ $smarty->assign("ERROR","The User does not have permission to delete ".$errormsg." ".$currentModule);
+}else
+{
+ $smarty->assign("ERROR","");
+}
//<<<<<<< sort ordering >>>>>>>>>>>>>
$sorder = $focus->getSortOrder();
$order_by = $focus->getOrderBy();
More information about the vtigercrm-commits
mailing list