summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/screens.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-05 08:29:22 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-05 08:29:22 +0000
commitb1a528879c1e7e7d7886a273cf954741d057e038 (patch)
tree85821a6560cbd493c921c26fd0d0855df47e9be2 /frontends/php/include/screens.inc.php
parent456d33cecd93804e8dcd9f3884ad21fb4eb71ab4 (diff)
downloadzabbix-b1a528879c1e7e7d7886a273cf954741d057e038.tar.gz
zabbix-b1a528879c1e7e7d7886a273cf954741d057e038.tar.xz
zabbix-b1a528879c1e7e7d7886a273cf954741d057e038.zip
- [DEV-137] small fixes & performance enchantments (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5869 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/screens.inc.php')
-rw-r--r--frontends/php/include/screens.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/screens.inc.php b/frontends/php/include/screens.inc.php
index 4871e0bf..2fb7b9ce 100644
--- a/frontends/php/include/screens.inc.php
+++ b/frontends/php/include/screens.inc.php
@@ -54,7 +54,7 @@
if(DBfetch(DBselect('SELECT itemid '.
' FROM items '.
- ' WHERE itemid IN ('.implode(',',$itemid).') '.
+ ' WHERE '.DBcondition('itemid',$itemid).
' AND '.DBcondition('hostid',$available_hosts,true))))
{
$result = false;