summaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/php/triggers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/triggers.php b/frontends/php/triggers.php
index 75296953..fd883d8f 100644
--- a/frontends/php/triggers.php
+++ b/frontends/php/triggers.php
@@ -137,7 +137,7 @@ include_once "include/page_header.php";
" from triggers t left join functions f on t.triggerid=f.triggerid ".
" left join items i on f.itemid=i.itemid ".
" left join hosts h on i.hostid=h.hostid ".
- " where t.triggerid=$triggerid")
+ " where t.triggerid=".$_REQUEST["triggerid"])
))
{
$result = delete_trigger($_REQUEST["triggerid"]);