Skip to content

Firefly III: a personal finances manager

Fix #1955.

James Cole464642250b42
diff --git a/changelog.md b/changelog.md
index 70ff449c34..21a773a2f0 100644
--- a/changelog.md
+++ b/changelog.md
@@ -22,6 +22,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #1942 Favicons are relative so Scriptaculous installations work better.
- #1944 Make sure that the search allows you to mass-select transactions.
- #1945 Slight UI change so the drop-down menu renders better.
+- #1955 Fixed a bug in the category report.
- Fixed broken translations in the recurring transactions overview.
### Security
diff --git a/resources/views/v1/reports/category/month.twig b/resources/views/v1/reports/category/month.twig
index f0a927f64f..3eb88dae79 100644
--- a/resources/views/v1/reports/category/month.twig
+++ b/resources/views/v1/reports/category/month.twig
@@ -191,8 +191,6 @@
{% set totalCount = 0 %}
{% set totalSum = 0 %}
{% for row in averageExpenses %}
- {% set totalCount = totalCount+ row.count %}
- {% set totalSum = totalSum + row.sum %}
{% if loop.index > listLength %}
<tr class="overListLength">
{% else %}