From 02ed0c11a9d28d0d0169b0bed5bc32cfd6b31a5f Mon Sep 17 00:00:00 2001 From: nonmakina Date: Tue, 19 Jan 2021 21:18:58 -0600 Subject: [PATCH] Changes count for sum --- templates/themes/categories/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/themes/categories/theme.php b/templates/themes/categories/theme.php index 379eee8e..51d212d2 100644 --- a/templates/themes/categories/theme.php +++ b/templates/themes/categories/theme.php @@ -136,7 +136,7 @@ } $stats['recent_ips'] = count($unique); - $stats['pph'] = count(array_column($stats['boards'], 'pph')); + $stats['pph'] = array_sum(array_column($stats['boards'], 'pph')); return $stats; }