1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 16:36:47 +02:00

🐛 Make sure summed value is a number (#14)

This commit is contained in:
SKmedix
2021-01-05 22:41:00 +01:00
committed by GitHub
parent aaf3bc309c
commit 3b838dfd01
2 changed files with 2 additions and 2 deletions

View File

@@ -176,7 +176,7 @@ export default class StatisticsWidget extends DashboardWidget {
for (const time in timed) {
if (time >= period.start && time < period.end) {
count += timed[time];
count += parseInt(timed[time]);
}
}