From 63022f0232b14b305376700a4b2f9b1635cb3b9a Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 13 Mar 2020 09:19:53 -0400 Subject: [PATCH] Refactor CRM_Utils_Array::value -> empty --- HTML/QuickForm/radio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTML/QuickForm/radio.php b/HTML/QuickForm/radio.php index c7994cf54..6413595a6 100644 --- a/HTML/QuickForm/radio.php +++ b/HTML/QuickForm/radio.php @@ -78,7 +78,7 @@ function __construct($elementName=null, $elementLabel=null, $text=null, $value=n if ( ! $this->getAttribute('id') ) { //hack to add 'id' for radio static $idTextStr = 1; - if (CRM_Utils_Array::value('id_suffix', $attributes)) { + if (!empty($attributes['id_suffix'])) { $idSuffix = $attributes['id_suffix']; $this->removeAttribute('id_suffix'); }