summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmaps.php
diff options
context:
space:
mode:
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;
}