aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/pulldown.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-29 02:20:59 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-29 02:20:59 +0000
commit45b492f458541dade3ee6d7a819eddcea7004616 (patch)
tree14fc73c1650242db169b4e51bf0005de4a7668e4 /views/default/input/pulldown.php
parenta19462d8b0c1bc07597c78c92a79415694eee3eb (diff)
downloadelgg-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.php2
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>";