diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/input/radio.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/input/radio.php b/views/default/input/radio.php index be5554e8b..8e5b456e9 100644 --- a/views/default/input/radio.php +++ b/views/default/input/radio.php @@ -26,6 +26,10 @@ $selected = "";
} else {
$selected = "checked = \"checked\"";
+ }
+ $labelint = (int) $label;
+ if ("{$label}" == "{$labelint}") {
+ $label = $option;
} if ($vars['disabled']) $disabled = ' disabled="yes" ';
|