aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/checkboxes.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 15:02:00 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 15:02:00 +0000
commit0213304cc1058af92336c502a38e231a8947b0ff (patch)
treea940ffafd3d7c2f8b0f5608c7e07909d81ffeb17 /views/default/input/checkboxes.php
parent63fe0557ea4f779bab1ed7b66e65746bfee819dd (diff)
downloadelgg-0213304cc1058af92336c502a38e231a8947b0ff.tar.gz
elgg-0213304cc1058af92336c502a38e231a8947b0ff.tar.bz2
Refs #206: Hopefully the last of it. Please remember to use htmlentities($foo, null, 'UTF-8'); whenever using htmlentities!
git-svn-id: https://code.elgg.org/elgg/trunk@1800 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/checkboxes.php')
-rw-r--r--views/default/input/checkboxes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php
index c27a197cf..f45f37583 100644
--- a/views/default/input/checkboxes.php
+++ b/views/default/input/checkboxes.php
@@ -42,7 +42,7 @@
}
if ($vars['disabled']) $disabled = ' disabled="yes" ';
- echo "<label><input type=\"checkbox\" $disabled {$vars['js']} name=\"{$vars['internalname']}[]\" {$selected} value=\"".htmlentities($option)."\" {$selected} class=\"$class\" />{$label}</label><br />";
+ echo "<label><input type=\"checkbox\" $disabled {$vars['js']} name=\"{$vars['internalname']}[]\" {$selected} value=\"".htmlentities($option, null, 'UTF-8')."\" {$selected} class=\"$class\" />{$label}</label><br />";
}
?> \ No newline at end of file