Skip to content

Firefly III: a personal finances manager

Call to bad function breaks several reports, fix #4547

James Colea243f3d7c289
diff --git a/app/Generator/Report/Category/MonthReportGenerator.php b/app/Generator/Report/Category/MonthReportGenerator.php
index 4836354b38..df2bc0df4d 100644
--- a/app/Generator/Report/Category/MonthReportGenerator.php
+++ b/app/Generator/Report/Category/MonthReportGenerator.php
@@ -76,7 +76,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
// render!
try {
- return view('reports.category.month', compact('accountIds', 'categoryIds', 'reportType',))
+ return prefixView('reports.category.month', compact('accountIds', 'categoryIds', 'reportType',))
->with('start', $this->start)->with('end', $this->end)
->with('categories', $this->categories)
->with('accounts', $this->accounts)
diff --git a/app/Generator/Report/Standard/MultiYearReportGenerator.php b/app/Generator/Report/Standard/MultiYearReportGenerator.php
index 6cf1c46e00..b535f7a105 100644
--- a/app/Generator/Report/Standard/MultiYearReportGenerator.php
+++ b/app/Generator/Report/Standard/MultiYearReportGenerator.php
@@ -54,7 +54,7 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
$reportType = 'default';
try {
- return view(
+ return prefixView(
'reports.default.multi-year',
compact('accountIds', 'reportType')
)->with('start', $this->start)->with('end', $this->end)->render();
diff --git a/changelog.md b/changelog.md
index 9801ff3606..102fff38ba 100644
--- a/changelog.md
+++ b/changelog.md
@@ -4,7 +4,26 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Unreleased
-- No unreleased changes.
+### Added
+- Initial release.
+
+### Changed
+- Initial release.
+
+### Deprecated
+- Initial release.
+
+### Removed
+- Initial release.
+
+### Fixed
+- #4547 Call to bad function breaks several reports
+
+### Security
+- Initial release.
+
+### API
+- Initial release
## 5.5.0 (API 1.5.0) 2021-03-27