diff --git a/lib/org/openpsa/expenses/hour/report.php b/lib/org/openpsa/expenses/hour/report.php index 4767b9169..a31263385 100644 --- a/lib/org/openpsa/expenses/hour/report.php +++ b/lib/org/openpsa/expenses/hour/report.php @@ -120,7 +120,7 @@ public function modify_hours_by_time_slot() $time_slot = 1; } } - $this->hours = max(1, round($this->hours / $time_slot)) * $time_slot; + $this->hours = ceil($this->hours / $time_slot) * $time_slot; } }