diff options
Diffstat (limited to 'frontends/php/bulkloader.php')
| -rw-r--r-- | frontends/php/bulkloader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/bulkloader.php b/frontends/php/bulkloader.php index bc0334bb..c5f35408 100644 --- a/frontends/php/bulkloader.php +++ b/frontends/php/bulkloader.php @@ -84,7 +84,7 @@ } // Determine which template, if any this host is linked to - $sql="select distinct(hostid) from hosts where status<>". HOST_STATUS_DELETED ." and host='$tmpHostTemplate'"; + $sql="select distinct(hostid) from hosts where status<>". HOST_STATUS_DELETED ." and host='".zbx_ads($tmpHostTemplate)."'"; $sqlResult=DBselect($sql); if(DBnum_rows($sqlResult)==1) { |
