summaryrefslogtreecommitdiffstats
path: root/frontends/php/graphs.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/graphs.php')
-rw-r--r--frontends/php/graphs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index 3a637a05..d727a2e5 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -32,7 +32,7 @@
?>
<?php
- if(!check_right("Graph","U",0))
+ if(!check_allright("Graph","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("Graph","R",$row["graphid"]))
+ if(!check_right("Graph","U",$row["graphid"]))
{
continue;
}