summaryrefslogtreecommitdiffstats
path: root/frontends/php/overview.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-17 15:08:50 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-17 15:08:50 +0000
commitb024b6875f0b6c1575cb8317970afb5faa52df65 (patch)
tree9b1f98f89f441876e19a476b3b59032b09af7068 /frontends/php/overview.php
parentb82812f00576369e65c996ef51264de66ce63d57 (diff)
downloadzabbix-b024b6875f0b6c1575cb8317970afb5faa52df65.tar.gz
zabbix-b024b6875f0b6c1575cb8317970afb5faa52df65.tar.xz
zabbix-b024b6875f0b6c1575cb8317970afb5faa52df65.zip
- [DEV-137] SQL fix (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5633 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/overview.php')
-rw-r--r--frontends/php/overview.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/overview.php b/frontends/php/overview.php
index 64cda44b..20d86410 100644
--- a/frontends/php/overview.php
+++ b/frontends/php/overview.php
@@ -71,7 +71,9 @@ if(isset($_REQUEST["select"])&&($_REQUEST["select"]!=""))
if($_REQUEST["type"] == SHOW_TRIGGERS){
$from = ', functions f, triggers t';
- $where = 'and i.itemid=f.itemid and f.triggerid=t.triggerid and t.status='.TRIGGER_STATUS_ENABLED;
+ $where = ' and i.itemid=f.itemid '.
+ ' and f.triggerid=t.triggerid '.
+ ' and t.status='.TRIGGER_STATUS_ENABLED;
}
else{
$where = $from = '';