diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index ca5b2c833d0..267815f8ddf 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2517,6 +2517,7 @@ class Form $.each(inputok, function(i, inputname) { var more = ""; if ($("#" + inputname).attr("type") == "checkbox") { more = ":checked"; } + if ($("#" + inputname).attr("type") == "radio") { more = ":checked"; } var inputvalue = $("#" + inputname + more).val(); if (typeof inputvalue == "undefined") { inputvalue=""; } options += "&" + inputname + "=" + inputvalue;