aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/text.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/text.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/text.php')
-rw-r--r--views/default/input/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/text.php b/views/default/input/text.php
index 3f7667c4f..a6045cf4c 100644
--- a/views/default/input/text.php
+++ b/views/default/input/text.php
@@ -24,4 +24,4 @@
?>
-<input type="text" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value']); ?>" class="<?php echo $class ?>"/> \ No newline at end of file
+<input type="text" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value'], null, 'UTF-8'); ?>" class="<?php echo $class ?>"/> \ No newline at end of file