summaryrefslogtreecommitdiffstats
path: root/frontends/php/tr_comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/tr_comments.php')
-rw-r--r--frontends/php/tr_comments.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontends/php/tr_comments.php b/frontends/php/tr_comments.php
index 01704d33..38d2dbf3 100644
--- a/frontends/php/tr_comments.php
+++ b/frontends/php/tr_comments.php
@@ -5,6 +5,14 @@
include "include/config.inc.php";
show_header($page["title"],0,0);
?>
+<?
+ if(!check_right("Trigger comment","R",$HTTP_GET_VARS["triggerid"]))
+ {
+ show_table_header("<font color=\"AA0000\">No permissions !</font>");
+ show_footer();
+ exit;
+ }
+?>
<?
show_table_header("TRIGGER COMMENTS");