diff options
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r-- | frontends/php/include/items.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index 8cf3d98e..9308cdd0 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -468,10 +468,10 @@ $db_tmp_items = get_items_by_hostid($templateid); - $apps = get_same_applications_for_host(get_applications_by_itemid($db_tmp_item["itemid"]),$hostid); while($db_tmp_item = DBfetch($db_tmp_items)) { + $apps = get_same_applications_for_host(get_applications_by_itemid($db_tmp_item["itemid"]),$hostid); add_item( $db_tmp_item["description"], $db_tmp_item["key_"], |