From 3cf8f702763ebe4ae92d755af9004deb688b57db Mon Sep 17 00:00:00 2001 From: Julien Mathis <jmathis@centreon.com> Date: Tue, 19 Jul 2016 12:58:01 +0200 Subject: [PATCH] refs #4052 for centreon 2.6.x --- .../configuration/configObject/service/formService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/include/configuration/configObject/service/formService.php b/www/include/configuration/configObject/service/formService.php index 981edfc106..4418b09166 100644 --- a/www/include/configuration/configObject/service/formService.php +++ b/www/include/configuration/configObject/service/formService.php @@ -112,11 +112,13 @@ 'order' => array('hg_name'))); /* service groups */ - $sgs = $acl->getServiceGroupAclConf(null, $oreon->broker->getBroker(), array('fields' => array('sg_id', 'sg_name'), + $sgs = $acl->getServiceGroupAclConf(null, $oreon->broker->getBroker(), array('fields' => array('servicegroup.sg_id', 'sg_name'), 'keys' => array('sg_id'), 'get_row' => 'sg_name', 'order' => array('sg_name'))); + print_r($sgs); + /* service categories */ $service_categories = array(); $scstring = $acl->getServiceCategoriesString(); -- GitLab