From bf120d6021f0b028bea2daefdb6453e4bf7e094a Mon Sep 17 00:00:00 2001 From: Arjen van Bochoven Date: Wed, 10 May 2017 10:51:33 +0200 Subject: [PATCH] Fix startdate for registered client widget --- app/modules/reportdata/views/registered_clients_widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/reportdata/views/registered_clients_widget.php b/app/modules/reportdata/views/registered_clients_widget.php index 1b2c01048..123775707 100644 --- a/app/modules/reportdata/views/registered_clients_widget.php +++ b/app/modules/reportdata/views/registered_clients_widget.php @@ -38,7 +38,7 @@ { var total = 0 temp = {key: type, values: []}; - for (var i = 1; i < datelength; i++) { + for (var i = 0; i < datelength; i++) { if (i.toString() in data.types[type]){ total = total + data.types[type][i]; }