diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-29 12:44:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-29 12:44:30 +0000 |
commit | 41d28852f3cd4daae15c6e5032afe4eff4842b28 (patch) | |
tree | 4588bc57e872114df9ef4581d879d2c4e86baaba | |
parent | 7ca4dd608d9528b34b88149c16e4ca6c4056b2b2 (diff) | |
download | brdo-41d28852f3cd4daae15c6e5032afe4eff4842b28.tar.gz brdo-41d28852f3cd4daae15c6e5032afe4eff4842b28.tar.bz2 |
- Fixed glitch with form_radio(). Reported by Kjartan.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 035f04ab1..5195c525f 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -730,7 +730,7 @@ function form_group($legend, $group, $description = NULL) { } function form_radio($title, $name, $value = 1, $checked = 0, $description = NULL, $attributes = NULL) { - return theme("form_element", 0, "<input type=\"radio\" class=\"form-radio\" name=\"edit[$name]\" value=\"$value\"". ($checked ? " checked=\"checked\"" : "") . drupal_attributes($attributes) ." /> $title", $description); + return theme("form_element", NULL, "<input type=\"radio\" class=\"form-radio\" name=\"edit[$name]\" value=\"$value\"". ($checked ? " checked=\"checked\"" : "") . drupal_attributes($attributes) ." /> $title", $description); } function form_radios($title, $name, $value, $options, $description = NULL) { |