diff --git a/library/Director/IcingaConfig/IcingaConfigHelper.php b/library/Director/IcingaConfig/IcingaConfigHelper.php index 26e3c588..0e52b4ce 100644 --- a/library/Director/IcingaConfig/IcingaConfigHelper.php +++ b/library/Director/IcingaConfig/IcingaConfigHelper.php @@ -218,7 +218,7 @@ class IcingaConfigHelper ); foreach ($steps as $unit => $duration) { - if ($seconds > $duration) { + if ($seconds >= $duration) { $parts[] = (int) floor($seconds / $duration) . $unit; $seconds = $seconds % $duration; }