[Vtigercrm-commits] [vtiger-commits] r10511 - /vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 21 03:43:48 EDT 2007


Author: saraj
Date: Wed Mar 21 01:43:44 2007
New Revision: 10511

Log:
changes made to enable proper check during field view

Modified:
    vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php

Modified: vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php Wed Mar 21 01:43:44 2007
@@ -436,13 +436,17 @@
 		for($j=0; $j<count($fieldListResult[$module_name]); $j++)
 		{
 			$field=array();
+			if($fieldListResult[$module_name][$j][1] == 0)
+			{
+				$visible = "<img src=".$image_path."/prvPrfSelectedTick.gif>";
+			}
+			else
+			{
+				$visible = "<img src=".$image_path."/no.gif>";
+			}
 			if($disable_field_array[$fieldListResult[$module_name][$j][4]] == 1)
 			{
 				$visible = "<img src=".$image_path."/no.gif>";
-			}
-			else
-			{
-				$visible = "<img src=".$image_path."/prvPrfSelectedTick.gif>";
 			}
 			if($language_strings[$fieldListResult[$module_name][$j][0]] != '')
 				$field[]=$language_strings[$fieldListResult[$module_name][$j][0]];





More information about the vtigercrm-commits mailing list