diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-28 10:42:59 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-28 10:42:59 +0000 |
commit | 152d2c2d0f90a069fb9af47946bdabf5b24dc3d8 (patch) | |
tree | 997addb56e236244e14da67537b1318a929a5553 | |
parent | 75b8e1b8d659ccbbb644c0d28c642eacc0ffb955 (diff) | |
download | elgg-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
-rw-r--r-- | views/default/input/radio.php | 2 |
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\"";
|