[Vtigercrm-commits] [vtiger-commits] r5534 - /vtigercrm/trunk/modules/Products/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 19:40:55 EDT 2006
Author: saraj
Date: Thu Apr 27 17:40:51 2006
New Revision: 5534
Log:
Enabled the Security check for each record in list view for all modules-Ahmed
Modified:
vtigercrm/trunk/modules/Products/ListView.php
Modified: vtigercrm/trunk/modules/Products/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Products/ListView.php (original)
+++ vtigercrm/trunk/modules/Products/ListView.php Thu Apr 27 17:40:51 2006
@@ -36,6 +36,14 @@
$smarty->assign("CATEGORY",$category);
$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","");
+}
$url_string = '&smodule=PRODUCTS'; // assigning http url string
$focus = new Product();
More information about the vtigercrm-commits
mailing list