diff options
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>"; |