[Vtigercrm-commits] [vtiger-commits] r5532 - /vtigercrm/trunk/modules/Potentials/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 19:38:33 EDT 2006
Author: saraj
Date: Thu Apr 27 17:38:29 2006
New Revision: 5532
Log:
Enabled the Security check for each record in list view for all modules-Ahmed
Modified:
vtigercrm/trunk/modules/Potentials/ListView.php
Modified: vtigercrm/trunk/modules/Potentials/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/ListView.php (original)
+++ vtigercrm/trunk/modules/Potentials/ListView.php Thu Apr 27 17:38:29 2006
@@ -39,6 +39,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","");
+}
//<<<<<<<<<<<<<<<<<<< sorting - stored in session >>>>>>>>>>>>>>>>>>>>
if($_REQUEST['order_by'] != '')
$order_by = $_REQUEST['order_by'];
More information about the vtigercrm-commits
mailing list