summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmaps.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/sysmaps.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/sysmaps.php')
-rw-r--r--frontends/php/sysmaps.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/sysmaps.php b/frontends/php/sysmaps.php
index 30c9a5e2..bb23b66d 100644
--- a/frontends/php/sysmaps.php
+++ b/frontends/php/sysmaps.php
@@ -27,7 +27,7 @@
?>
<?php
- if(!check_right("Network map","U",0))
+ if(!check_anyright("Network map","U"))
{
show_table_header("<font color=\"AA0000\">No permissions !</font>");
show_footer();
@@ -76,7 +76,7 @@
$col=0;
while($row=DBfetch($result))
{
- if(!check_right("Network map","R",$row["sysmapid"]))
+ if(!check_right("Network map","U",$row["sysmapid"]))
{
continue;
}