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