Private GIT

Skip to content
Snippets Groups Projects
Commit aa7252e0 authored by Guillaume28's avatar Guillaume28
Browse files

fix(HTPL): Export with filters(trap)

parent 1e044e99
Branches
Tags
No related merge requests found
...@@ -1025,7 +1025,7 @@ class CentreonServiceTemplate extends CentreonObject ...@@ -1025,7 +1025,7 @@ class CentreonServiceTemplate extends CentreonObject
"AND" "AND"
); );
foreach ($telements as $telement) { 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 echo $this->action . $this->delim
. "addtrap" . $this->delim . "addtrap" . $this->delim
. $telement['service_description'] . $this->delim . $telement['service_description'] . $this->delim
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment