diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-27 13:33:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-27 13:33:16 +0000 |
commit | e658fb3a978e40653d72ef33549177c87cb714ce (patch) | |
tree | ea2d6915df13ff06b36960cf39e3e91bbee14b50 /views/default/input/access.php | |
parent | d318c0249ea50907b8b3cbac3a6a6293abf2c0d7 (diff) | |
download | elgg-e658fb3a978e40653d72ef33549177c87cb714ce.tar.gz elgg-e658fb3a978e40653d72ef33549177c87cb714ce.tar.bz2 |
Closes #651: I agree, changed to convert both quotes.
git-svn-id: https://code.elgg.org/elgg/trunk@2979 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/access.php')
-rw-r--r-- | views/default/input/access.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/access.php b/views/default/input/access.php index e08eca13a..68cfcce71 100644 --- a/views/default/input/access.php +++ b/views/default/input/access.php @@ -39,9 +39,9 @@ foreach($vars['options'] as $key => $option) {
if ($key != $vars['value']) {
- echo "<option value=\"{$key}\">". htmlentities($option, null, 'UTF-8') ."</option>";
+ echo "<option value=\"{$key}\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
} else {
- echo "<option value=\"{$key}\" selected=\"selected\">". htmlentities($option, null, 'UTF-8') ."</option>";
+ echo "<option value=\"{$key}\" selected=\"selected\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}
}
|