diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-29 02:20:59 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-29 02:20:59 +0000 |
commit | 45b492f458541dade3ee6d7a819eddcea7004616 (patch) | |
tree | 14fc73c1650242db169b4e51bf0005de4a7668e4 /views/default/input/pulldown.php | |
parent | a19462d8b0c1bc07597c78c92a79415694eee3eb (diff) | |
download | elgg-45b492f458541dade3ee6d7a819eddcea7004616.tar.gz elgg-45b492f458541dade3ee6d7a819eddcea7004616.tar.bz2 |
Merged [6248] - [6252] into trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6284 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/pulldown.php')
-rw-r--r-- | views/default/input/pulldown.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/pulldown.php b/views/default/input/pulldown.php index a9663ef82..415ab3ad8 100644 --- a/views/default/input/pulldown.php +++ b/views/default/input/pulldown.php @@ -47,7 +47,7 @@ if ($vars['options_values']) { foreach($vars['options'] as $option) { $encoded_option = htmlentities($option, ENT_QUOTES, 'UTF-8'); - if ((string)$value == (string)$vars['value']) { + if ((string)$option == (string)$vars['value']) { echo "<option selected=\"selected\">$encoded_option</option>"; } else { echo "<option>$encoded_option</option>"; |