Private GIT

Skip to content
Snippets Groups Projects
Commit 361d1dfa authored by Laurent Pinsivy's avatar Laurent Pinsivy
Browse files

Merge branch '2.8.14-for-release' of https://github.com/centreon/centreon into 2.8.14-for-release

parents 330952d2 13b2ee56
No related branches found
No related tags found
No related merge requests found
...@@ -379,6 +379,7 @@ class CentreonRtDowntime extends CentreonObject ...@@ -379,6 +379,7 @@ class CentreonRtDowntime extends CentreonObject
$withServices, $withServices,
$comment $comment
) { ) {
$withServices = 0;
// Check if a pipe is present // Check if a pipe is present
if (preg_match('/^(.+)\|(.+)$/', $resource, $matches)) { if (preg_match('/^(.+)\|(.+)$/', $resource, $matches)) {
$this->externalCmdObj->addSvcDowntime( $this->externalCmdObj->addSvcDowntime(
...@@ -462,6 +463,7 @@ class CentreonRtDowntime extends CentreonObject ...@@ -462,6 +463,7 @@ class CentreonRtDowntime extends CentreonObject
$withServices, $withServices,
$comment $comment
) { ) {
$withServices = 0;
$serviceList = $this->sgObject->getServicesByServicegroupName($resource); $serviceList = $this->sgObject->getServicesByServicegroupName($resource);
foreach ($serviceList as $service) { foreach ($serviceList as $service) {
$this->externalCmdObj->addSvcDowntime( $this->externalCmdObj->addSvcDowntime(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment