Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix in date range [skip ci]
James Cole9dd2f447cc9c
diff --git a/app/Http/Controllers/BudgetController.php b/app/Http/Controllers/BudgetController.phpindex 8205914831..e82386126d 100644--- a/app/Http/Controllers/BudgetController.php+++ b/app/Http/Controllers/BudgetController.php@@ -260,7 +260,7 @@ class BudgetController extends Controller}// fix title:- if ((strlen($moment) > 0 && $moment !== 'all') || strlen($moment) === 0) {+ if (((strlen($moment) > 0 && $moment !== 'all') || strlen($moment) === 0) && $count > 0) {$subTitle = trans('firefly.without_budget_between',['start' => $start->formatLocalized($this->monthAndDayFormat), 'end' => $end->formatLocalized($this->monthAndDayFormat)]diff --git a/app/Http/Controllers/CategoryController.php b/app/Http/Controllers/CategoryController.phpindex 453ff2d78a..eb91a6bf53 100644--- a/app/Http/Controllers/CategoryController.php+++ b/app/Http/Controllers/CategoryController.php@@ -220,7 +220,7 @@ class CategoryController extends Controller}// fix title:- if ((strlen($moment) > 0 && $moment !== 'all') || strlen($moment) === 0) {+ if (((strlen($moment) > 0 && $moment !== 'all') || strlen($moment) === 0) && $count > 0) {$subTitle = trans('firefly.without_category_between',['start' => $start->formatLocalized($this->monthAndDayFormat), 'end' => $end->formatLocalized($this->monthAndDayFormat)]