diff --git a/www/class/centreon-clapi/centreonRtDowntime.class.php b/www/class/centreon-clapi/centreonRtDowntime.class.php
index 52f1c7c47641496539aa1f74c5f23a8fcdf27f88..0ff12846fd0caccb482f729fc96ec9ac7ec674bc 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);