mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #4514
This commit is contained in:
parent
a93da2a912
commit
b4d44fdd2b
@ -53,7 +53,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
|||||||
$reportType = 'default';
|
$reportType = 'default';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return view('reports.default.month', compact('accountIds', 'reportType'))->with('start', $this->start)->with('end', $this->end)->render();
|
return prefixView('reports.default.month', compact('accountIds', 'reportType'))->with('start', $this->start)->with('end', $this->end)->render();
|
||||||
} catch (Throwable $e) {
|
} catch (Throwable $e) {
|
||||||
Log::error(sprintf('Cannot render reports.default.month: %s', $e->getMessage()));
|
Log::error(sprintf('Cannot render reports.default.month: %s', $e->getMessage()));
|
||||||
$result = 'Could not render report view.';
|
$result = 'Could not render report view.';
|
||||||
|
Loading…
Reference in New Issue
Block a user