Skip to content

Firefly III: a personal finances manager

Fix missing variables.

James Cole273b75a3f8c0
diff --git a/app/Support/Report/Budget/BudgetReportGenerator.php b/app/Support/Report/Budget/BudgetReportGenerator.php
index 7b22e47d4f..0895fea147 100644
--- a/app/Support/Report/Budget/BudgetReportGenerator.php
+++ b/app/Support/Report/Budget/BudgetReportGenerator.php
@@ -292,7 +292,9 @@ class BudgetReportGenerator
$limitId = $limit->id;
$limitCurrency = $limit->transactionCurrency ?? $this->currency;
$currencyId = $limitCurrency->id;
-
+ $spent = '0';
+ $overspent = '0';
+ $left = '0';
// total expenses for entire budget limit period, if different from the report period.
if($this->start->isSameDay($limit->start_date) && $this->end->isSameDay($limit->end_date)) {