summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r--frontends/php/include/items.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php
index 3e6769e1..fa646994 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -519,7 +519,7 @@
if($db_item["templateid"] == 0)
continue;
- if( !is_null($templateid)){
+ if( !is_null($templateids)){
$db_tmp_item = get_item_by_itemid($db_item["templateid"]);
if(!uint_in_array($db_tmp_item["hostid"], $templateids)) continue;