Experimental fix for issue #109.

This commit is contained in:
James Cole
2015-09-13 07:32:39 +02:00
parent 3699a7ba9a
commit b3333cc2d3
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class CategoryController extends Controller
while ($start <= $end) {
$currentEnd = Navigation::endOfPeriod($start, $range);
$spent = $repository->balanceInPeriod($category, $start, $currentEnd);
$spent = $repository->balanceInPeriod($category, $start, $currentEnd, true);
$entries->push([clone $start, $spent]);
$start = Navigation::addPeriod($start, $range, 0);