diff options
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 4 |
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; } |
