summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/users.inc.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-12-07 08:46:19 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-12-07 08:46:19 +0000
commitb93508c7b63e89efd30a1a6c304f2eea27388244 (patch)
treedf6a9d3475cd614b8a78289efd63ee07edfdc8b1 /frontends/php/include/users.inc.php
parent224ef1379dfb1c35ca45dcee50072406c76f714a (diff)
downloadzabbix-b93508c7b63e89efd30a1a6c304f2eea27388244.tar.gz
zabbix-b93508c7b63e89efd30a1a6c304f2eea27388244.tar.xz
zabbix-b93508c7b63e89efd30a1a6c304f2eea27388244.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@3572 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/users.inc.php')
-rw-r--r--frontends/php/include/users.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/users.inc.php b/frontends/php/include/users.inc.php
index a15bb65a..9a66245c 100644
--- a/frontends/php/include/users.inc.php
+++ b/frontends/php/include/users.inc.php
@@ -23,7 +23,7 @@
{
$str_user_type[USER_TYPE_ZABBIX_USER] = S_ZABBIX_USER;
$str_user_type[USER_TYPE_ZABBIX_ADMIN] = S_ZABBIX_ADMIN;
- $str_user_type[USER_TYPE_SUPPER_ADMIN] = S_SUPPER_ADMIN;
+ $str_user_type[USER_TYPE_SUPER_ADMIN] = S_SUPER_ADMIN;
if(isset($str_user_type[$user_type_int]))
return $str_user_type[$user_type_int];
@@ -38,7 +38,7 @@
global $USER_DETAILS;
global $ZBX_CURNODEID;
- if($USER_DETAILS['type'] != USER_TYPE_SUPPER_ADMIN)
+ if($USER_DETAILS['type'] != USER_TYPE_SUPER_ADMIN)
{
error("Insufficient permissions");
return 0;