aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/radio.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/radio.php')
-rw-r--r--views/default/input/radio.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/default/input/radio.php b/views/default/input/radio.php
index b2b67616c..9f4c71d32 100644
--- a/views/default/input/radio.php
+++ b/views/default/input/radio.php
@@ -18,11 +18,7 @@ if (!$class) {
$class = "elgg-input-radio";
}
-if (!isset($vars['value']) || $vars['value'] === FALSE) {
- $vars['value'] = elgg_get_sticky_value($vars['internalname']);
-}
-
-foreach($vars['options'] as $label => $option) {
+foreach ($vars['options'] as $label => $option) {
if (strtolower($option) != strtolower($vars['value'])) {
$selected = "";
} else {