diff --git a/www/class/centreon-clapi/centreonServiceTemplate.class.php b/www/class/centreon-clapi/centreonServiceTemplate.class.php index 7cb8cb3bc74384c448672c10d59737b30d191df4..85886591a3afc6f87467efe7a17b2a32a49d1334 100644 --- a/www/class/centreon-clapi/centreonServiceTemplate.class.php +++ b/www/class/centreon-clapi/centreonServiceTemplate.class.php @@ -1049,6 +1049,7 @@ class CentreonServiceTemplate extends CentreonObject "AND" ); foreach ($helements as $helement) { + $this->api->export_filter('HOST', $helement['host_id'], $helement['host_name']); echo $this->action . $this->delim . "addhosttemplate" . $this->delim . $helement['service_description'] . $this->delim