Skip to content

Firefly III: a personal finances manager

Fix link to non-existing budget

James Cole29f93a9b7350
diff --git a/resources/views/reports/partials/balance.twig b/resources/views/reports/partials/balance.twig
index 4035e46521..0c6a412c9d 100644
--- a/resources/views/reports/partials/balance.twig
+++ b/resources/views/reports/partials/balance.twig
@@ -22,7 +22,7 @@
{% for balanceLine in balance.getBalanceLines %}
<tr>
- {% if balanceLine.getBudget %}
+ {% if balanceLine.getBudget.id %}
<td>
<a href="{{ route('budgets.show',balanceLine.getBudget.id) }}">{{ balanceLine.getTitle }}</a>
</td>