aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/access.php')
-rw-r--r--views/default/input/access.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/access.php b/views/default/input/access.php
index 9cd1e3d99..db938111e 100644
--- a/views/default/input/access.php
+++ b/views/default/input/access.php
@@ -35,9 +35,9 @@
foreach($vars['options'] as $key => $option) {
if ($key != $vars['value']) {
- echo "<option value=\"{$key}\">{$option}</option>";
+ echo "<option value=\"{$key}\">". htmlentities($option, null, 'UTF-8') ."</option>";
} else {
- echo "<option value=\"{$key}\" selected=\"selected\">{$option}</option>";
+ echo "<option value=\"{$key}\" selected=\"selected\">". htmlentities($option, null, 'UTF-8') ."</option>";
}
}