summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-06-24 18:07:18 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-06-24 18:07:18 +0000
commit4b797bf77033c11af92fef2aaae25ec1cc3ebb94 (patch)
tree6cc2e801a51b25f7cd8300bd9047207025271b50 /frontends/php
parentfdbc79baa0c822230deb6ae205e7994c6c19ff86 (diff)
downloadzabbix-4b797bf77033c11af92fef2aaae25ec1cc3ebb94.tar.gz
zabbix-4b797bf77033c11af92fef2aaae25ec1cc3ebb94.tar.xz
zabbix-4b797bf77033c11af92fef2aaae25ec1cc3ebb94.zip
- check permissions for Availability report (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@415 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/report2.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/php/report2.php b/frontends/php/report2.php
index a27a5970..e7519084 100644
--- a/frontends/php/report2.php
+++ b/frontends/php/report2.php
@@ -32,6 +32,10 @@
$col=0;
while($row=DBfetch($result))
{
+ if(!check_right_on_trigger("R",$row["triggerid"]))
+ {
+ continue;
+ }
if($lasthost!=$row["host"])
{
if($lasthost!="")