aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/pulldown.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/pulldown.php')
-rw-r--r--views/default/input/pulldown.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/input/pulldown.php b/views/default/input/pulldown.php
index 8d7d94e75..42a72259c 100644
--- a/views/default/input/pulldown.php
+++ b/views/default/input/pulldown.php
@@ -32,9 +32,9 @@
{
foreach($vars['options_values'] as $value => $option) {
if ($value != $vars['value']) {
- echo "<option value=\"$value\">". htmlentities($option, null, 'UTF-8') ."</option>";
+ echo "<option value=\"$value\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
} else {
- echo "<option value=\"$value\" selected=\"selected\">". htmlentities($option, null, 'UTF-8') ."</option>";
+ echo "<option value=\"$value\" selected=\"selected\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}
}
}
@@ -42,9 +42,9 @@
{
foreach($vars['options'] as $option) {
if ($option != $vars['value']) {
- echo "<option>". htmlentities($option, null, 'UTF-8') ."</option>";
+ echo "<option>". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
} else {
- echo "<option selected=\"selected\">". htmlentities($option, null, 'UTF-8') ."</option>";
+ echo "<option selected=\"selected\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}
}
}