[Vtigercrm-commits] [vtiger-commits] r7385 - /vtigercrm/trunk/modules/Users/EditView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 10:30:44 EDT 2006


Author: richie
Date: Wed Jun 21 08:30:35 2006
New Revision: 7385

Log:
now the admin user cannot change him to non admin by him self

Modified:
    vtigercrm/trunk/modules/Users/EditView.php

Modified: vtigercrm/trunk/modules/Users/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Users/EditView.php (original)
+++ vtigercrm/trunk/modules/Users/EditView.php Wed Jun 21 08:30:35 2006
@@ -67,7 +67,7 @@
 global $current_language;
 $smod_strings = return_module_language($current_language,'Settings');
 $smarty->assign("MOD", $smod_strings);
-
+$smarty->assign("CURRENT_USERID", $current_user->id);
 $smarty->assign("APP", $app_strings);
 
 if (isset($_REQUEST['error_string'])) $smarty->assign("ERROR_STRING", "<font class='error'>Error: ".$_REQUEST['error_string']."</font>");





More information about the vtigercrm-commits mailing list