Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix parameter count.
James Colefb3efbfc6654
diff --git a/app/Http/Controllers/BudgetController.php b/app/Http/Controllers/BudgetController.phpindex b156be96e5..a5d671a3f2 100644--- a/app/Http/Controllers/BudgetController.php+++ b/app/Http/Controllers/BudgetController.php@@ -567,7 +567,7 @@ class BudgetController 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;// properties for cachediff --git a/app/Http/Controllers/CategoryController.php b/app/Http/Controllers/CategoryController.phpindex 1eb6f71ed7..27ff1c92aa 100644--- a/app/Http/Controllers/CategoryController.php+++ b/app/Http/Controllers/CategoryController.php@@ -382,7 +382,7 @@ class CategoryController 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;// properties for cache@@ -468,7 +468,7 @@ class CategoryController extends Controller}$range = Preferences::get('viewRange', '1M')->data;$first = Navigation::startOfPeriod($first, $range);- $end = Navigation::endOfX(new Carbon, $range);+ $end = Navigation::endOfX(new Carbon, $range, null);$entries = new Collection;// properties for entries with their amounts.diff --git a/app/Http/Controllers/TransactionController.php b/app/Http/Controllers/TransactionController.phpindex d3bdd0ed59..46173dd35a 100644--- a/app/Http/Controllers/TransactionController.php+++ b/app/Http/Controllers/TransactionController.php@@ -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);