aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/input/radio.php4
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" ';