aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/confirmlink.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-13 12:34:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-13 12:34:09 +0000
commit3b280cf0fdb3b08ab91a32e491f73bdb0ee2c96c (patch)
tree3bcb467ac265aa07078b6831da65a0a8973ef86b /views/default/output/confirmlink.php
parent0f15382843a749b3482722493ec74fba5d38e6e8 (diff)
downloadelgg-3b280cf0fdb3b08ab91a32e491f73bdb0ee2c96c.tar.gz
elgg-3b280cf0fdb3b08ab91a32e491f73bdb0ee2c96c.tar.bz2
Fixed #2218 finished up the encoding issues by turning of double encoding
git-svn-id: http://code.elgg.org/elgg/trunk@8199 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/confirmlink.php')
-rw-r--r--views/default/output/confirmlink.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php
index 28facc26c..9325f0eb6 100644
--- a/views/default/output/confirmlink.php
+++ b/views/default/output/confirmlink.php
@@ -21,7 +21,7 @@ $vars['href'] = elgg_add_action_tokens_to_url(elgg_normalize_url($vars['href']),
$text = elgg_get_array_value('text', $vars, '');
if ($encode) {
- $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
+ $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false);
}
$vars['onclick'] = "return confirm('" . addslashes($confirm) . "')";