From 7aa332115d31ca595839706fd2dcb309835b480b Mon Sep 17 00:00:00 2001 From: "uttkarsh@axelerant.com" Date: Thu, 28 Mar 2019 14:00:37 +0530 Subject: [PATCH] Fix radio warnings. --- src/Element/Registrants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Element/Registrants.php b/src/Element/Registrants.php index b087c5a..6dbc0c1 100644 --- a/src/Element/Registrants.php +++ b/src/Element/Registrants.php @@ -186,7 +186,7 @@ public static function processIdentityElement(array &$element, FormStateInterfac $element['for_arity'] = [ '#type' => 'radios', '#title' => t('This registration is for'), - '#options' => NULL, + '#options' => [], '#access' => $for_arity_any_arity && $change_it, '#attributes' => [ 'class' => ['for_arity'],