From be68d42ea3ce181cb564adefb78a2b19f3654949 Mon Sep 17 00:00:00 2001
From: Kevin Duret <kduret@centreon.com>
Date: Tue, 16 May 2017 16:24:26 +0200
Subject: [PATCH] fix(export): add dependency injector

---
 www/class/centreon-clapi/centreonEngineCfg.class.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/class/centreon-clapi/centreonEngineCfg.class.php b/www/class/centreon-clapi/centreonEngineCfg.class.php
index 3254f59ead..fb1ab7d2e8 100644
--- a/www/class/centreon-clapi/centreonEngineCfg.class.php
+++ b/www/class/centreon-clapi/centreonEngineCfg.class.php
@@ -292,6 +292,7 @@ class CentreonEngineCfg extends CentreonObject
                 $this->object->getPrimaryKey() => $filter_id
                 );
         }
+
         $elements = $this->object->getList("*", -1, 0, null, null, $filters, "AND");
         $tpObj = new \Centreon_Object_Timeperiod($this->dependencyInjector);
         foreach ($elements as $element) {
-- 
GitLab