Fixed the chart. Forgot an argument.

This commit is contained in:
James Cole
2015-09-25 16:06:06 +02:00
parent 0bde72d3df
commit 968ec0853f

View File

@@ -148,7 +148,7 @@ class CategoryController extends Controller
while ($start <= $end) { while ($start <= $end) {
$spent = $repository->spentOnDaySumCorrected($category, $start); $spent = $repository->spentOnDaySumCorrected($category, $start);
$entries->push([clone $start, $spent]); $entries->push([clone $start, $spent, 0]);
$start->addDay(); $start->addDay();
} }