From b1d29001ae97291dc9328dfe77840df9b2f37829 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 10 Sep 2019 16:20:15 -0600 Subject: [PATCH] Dashboard: Fix Registrations count. --- app/registrations/resources/classes/registrations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/registrations/resources/classes/registrations.php b/app/registrations/resources/classes/registrations.php index 84bac197cc..79568e591c 100644 --- a/app/registrations/resources/classes/registrations.php +++ b/app/registrations/resources/classes/registrations.php @@ -183,7 +183,7 @@ if (!class_exists('registrations')) { exit; } $array = json_decode(json_encode($xml), true); - $count = $count + count($array['registrations']['registration']); + $count = $count + @sizeof($array['registrations']); } }