diff --git a/core/Utils/Formatter.php b/core/Utils/Formatter.php index 5bf81bcf..ef4c69c0 100644 --- a/core/Utils/Formatter.php +++ b/core/Utils/Formatter.php @@ -40,7 +40,7 @@ abstract class Formatter implements UsageInformationAble { $minutes = floor($seconds / 60); $hours = floor($minutes / 60); $minutes -= $hours * 60; - $seconds -= $hours * 60 + $minutes * 60; + $seconds -= ($hours * 60 + $minutes) * 60; $format = ($hours > 0 ? $hours . ':' : ''); $format .= ($hours > 0 && $minutes < 10 ? '0' : '') . $minutes . ':'; $format .= ($seconds < 10 ? '0' : '') . $seconds . ':';