From 464642250b427793150abecc99e464413456966b Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 1 Jan 2019 19:32:37 +0100 Subject: [PATCH] Fix #1955. --- changelog.md | 1 + resources/views/v1/reports/category/month.twig | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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 %} {% else %}