Fix parameter count.

This commit is contained in:
James Cole
2017-07-26 16:40:25 +02:00
parent 0f8a66609a
commit fb3efbfc66
3 changed files with 4 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ class TransactionController extends Controller
$start = $first->date ?? new Carbon;
$range = Preferences::get('viewRange', '1M')->data;
$start = Navigation::startOfPeriod($start, $range);
$end = Navigation::endOfX(new Carbon, $range);
$end = Navigation::endOfX(new Carbon, $range, null);
$entries = new Collection;
$types = config('firefly.transactionTypesByWhat.' . $what);