Fix earned by category view [skip ci]

This commit is contained in:
James Cole 2017-12-10 20:10:04 +01:00
parent 6fed773cb8
commit d3a6ccacf0
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -132,7 +132,7 @@ class ExpenseController extends Controller
}
// now find spent / earned:
$spent = $this->spentByCategory($accounts, $all, $start, $end);
$earned = $this->earnedByCategory($accounts, $combi, $start, $end);
$earned = $this->earnedByCategory($accounts, $all, $start, $end);
// join arrays somehow:
$together = [];