From 2cbcfd58d986960793b6ee6e011858b9a5f0a5b4 Mon Sep 17 00:00:00 2001
From: loiclau <loic.lau@gmail.com>
Date: Mon, 2 Oct 2017 16:19:55 +0200
Subject: [PATCH] fix(api rest) comment order for poller

---
 www/class/centreon-clapi/centreonRtDowntime.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/class/centreon-clapi/centreonRtDowntime.class.php b/www/class/centreon-clapi/centreonRtDowntime.class.php
index 52f1c7c476..0ff12846fd 100644
--- a/www/class/centreon-clapi/centreonRtDowntime.class.php
+++ b/www/class/centreon-clapi/centreonRtDowntime.class.php
@@ -533,8 +533,8 @@ class CentreonRtDowntime extends CentreonObject
         $end,
         $fixed,
         $duration,
-        $comment,
-        $withServices
+        $withServices,
+        $comment
     ) {
         $hostList = $this->instanceObject->getHostsByInstance($resource);
 
-- 
GitLab