From 4d957d42ecdb059a529e97cf378fe6bb157bb89e Mon Sep 17 00:00:00 2001 From: mohrt Date: Mon, 24 Feb 2003 16:16:58 +0000 Subject: [PATCH] apply patch to initial html_radios function --- libs/plugins/function.html_radios.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libs/plugins/function.html_radios.php b/libs/plugins/function.html_radios.php index a6696b96..55eae1cc 100644 --- a/libs/plugins/function.html_radios.php +++ b/libs/plugins/function.html_radios.php @@ -6,11 +6,11 @@ * Type: function * Name: html_radios * Purpose: Prints the list of or   - * output[optional] -without this one the buttons don't have names + * output[optional] - without this one the buttons don't have names * Author: Christopher Kvarme * --------------------------------------------------------------------------------------------- */ @@ -19,7 +19,9 @@ function smarty_function_html_radios($params, &$smarty) extract($params); $html_result = ''; - + if(!isset($name)){ + $name = "radio"; + } settype($checked, 'array'); if (isset($radios)) { settype($radios, 'array');