From 60dc48155abc9c408373e02050b295ebe1211e17 Mon Sep 17 00:00:00 2001 From: Piyush Agrawal Date: Wed, 22 Feb 2017 14:53:13 +0530 Subject: [PATCH] comments removed, if-else brackets added Signed-off-by: Piyush Agrawal --- libraries/Util.php | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/libraries/Util.php b/libraries/Util.php index 65ae091d87..fae03df49b 100644 --- a/libraries/Util.php +++ b/libraries/Util.php @@ -2609,30 +2609,12 @@ class Util } $html_field_id = $id_prefix . '_' . $choice_value; - // $radio_html .= '' - // . ($escape_label - // ? htmlspecialchars($choice_label) - // : $choice_label) - // . ''; - - // if ($line_break) { - // $radio_html .= '
'; - // } - - // if (! empty($class)) { - // $radio_html .= ''; - // } - // $radio_html .= "\n"; + } $radio_html .= Template::get('radio_fields')->render([ 'class' => $class, 'html_field_name' => $html_field_name,