aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/radio.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 13:33:16 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 13:33:16 +0000
commite658fb3a978e40653d72ef33549177c87cb714ce (patch)
treeea2d6915df13ff06b36960cf39e3e91bbee14b50 /views/default/input/radio.php
parentd318c0249ea50907b8b3cbac3a6a6293abf2c0d7 (diff)
downloadelgg-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/radio.php')
-rw-r--r--views/default/input/radio.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/radio.php b/views/default/input/radio.php
index 8be62c752..6dfa3a7ae 100644
--- a/views/default/input/radio.php
+++ b/views/default/input/radio.php
@@ -33,7 +33,7 @@
}
if ($vars['disabled']) $disabled = ' disabled="yes" ';
- echo "<label><input type=\"radio\" $disabled {$vars['js']} name=\"{$vars['internalname']}\" value=\"".htmlentities($option, null, 'UTF-8')."\" {$selected} class=\"$class\" />{$label}</label><br />";
+ echo "<label><input type=\"radio\" $disabled {$vars['js']} name=\"{$vars['internalname']}\" value=\"".htmlentities($option, ENT_QUOTES, 'UTF-8')."\" {$selected} class=\"$class\" />{$label}</label><br />";
}
?> \ No newline at end of file