From 152d2c2d0f90a069fb9af47946bdabf5b24dc3d8 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 28 Nov 2008 10:42:59 +0000 Subject: Improved radio button value retention git-svn-id: https://code.elgg.org/elgg/trunk@2495 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/radio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') 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\""; -- cgit v1.2.3