summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-09 10:32:18 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-09 10:32:18 +0000
commitde372aa496c67a43fbcced4fac5848850f9082bd (patch)
tree9f771d7fff7514ddb5a9da3c61f2ba24590e0bf7 /frontends/php/items.php
parent9451ec4c19963e84114e29e35310b8a26ca3c4ed (diff)
downloadzabbix-de372aa496c67a43fbcced4fac5848850f9082bd.tar.gz
zabbix-de372aa496c67a43fbcced4fac5848850f9082bd.tar.xz
zabbix-de372aa496c67a43fbcced4fac5848850f9082bd.zip
- fixed permissions of PHP screens (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1018 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 79e4c989..ef86ec2c 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -28,7 +28,7 @@
?>
<?php
- if(!check_right("Host","U",0))
+ if(!check_anyright("Host","U"))
{
show_table_header("<font color=\"AA0000\">No permissions !</font
>");
@@ -178,7 +178,7 @@
// $result=DBselect("select hostid,host from hosts order by host");
while($row=DBfetch($result))
{
- if(!check_right("Host","R",$row["hostid"]))
+ if(!check_right("Host","U",$row["hostid"]))
{
continue;
}