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']); } }