aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/radio.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-28 10:42:59 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-28 10:42:59 +0000
commit152d2c2d0f90a069fb9af47946bdabf5b24dc3d8 (patch)
tree997addb56e236244e14da67537b1318a929a5553 /views/default/input/radio.php
parent75b8e1b8d659ccbbb644c0d28c642eacc0ffb955 (diff)
downloadelgg-152d2c2d0f90a069fb9af47946bdabf5b24dc3d8.tar.gz
elgg-152d2c2d0f90a069fb9af47946bdabf5b24dc3d8.tar.bz2
Improved radio button value retention
git-svn-id: https://code.elgg.org/elgg/trunk@2495 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/radio.php')
-rw-r--r--views/default/input/radio.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/radio.php b/views/default/input/radio.php
index 8e5b456e9..1595e796f 100644
--- a/views/default/input/radio.php
+++ b/views/default/input/radio.php
@@ -22,7 +22,7 @@
if (!$class) $class = "input-radio";
foreach($vars['options'] as $label => $option) {
- if ($option != $vars['value']) {
+ if (strtolower($option) != strtolower($vars['value'])) {
$selected = "";
} else {
$selected = "checked = \"checked\"";