diff --git a/www/class/centreon-clapi/centreonServiceTemplate.class.php b/www/class/centreon-clapi/centreonServiceTemplate.class.php index 85886591a3afc6f87467efe7a17b2a32a49d1334..124308b668ca9332bea4efcd5b6aa56965ee676a 100644 --- a/www/class/centreon-clapi/centreonServiceTemplate.class.php +++ b/www/class/centreon-clapi/centreonServiceTemplate.class.php @@ -1025,7 +1025,7 @@ class CentreonServiceTemplate extends CentreonObject "AND" ); foreach ($telements as $telement) { - $this->api->export_filter('TRAP', $element['traps_id'], $element['traps_name']); + $this->api->export_filter('TRAP', $telement['traps_id'], $telement['traps_name']); echo $this->action . $this->delim . "addtrap" . $this->delim . $telement['service_description'] . $this->delim