summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 674419619..6a4e82a3c 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -764,10 +764,10 @@ function form_select($title, $name, $value, $options, $description = NULL, $extr
function form_radios($title, $name, $value, $options, $description = NULL) {
if (count($options) > 0) {
- foreach ($options as $key=>$choice) {
+ foreach ($options as $key => $choice) {
$output .= form_radio($choice, $name, $key, ($key == $value));
}
- return theme("form_element", $title, $output, $description);
+ return theme("form_element", $title, $output, $description, $name);
}
}