diff options
Diffstat (limited to 'views/default/output/url.php')
-rw-r--r-- | views/default/output/url.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/output/url.php b/views/default/output/url.php index 4f34c120e..19277f08f 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -21,13 +21,13 @@ if (!$url and isset($vars['value'])) { if (isset($vars['text'])) { if (isset($vars['encode_text']) && $vars['encode_text']) { - $text = htmlspecialchars($vars['text'], ENT_QUOTES, 'UTF-8'); + $text = htmlspecialchars($vars['text'], ENT_QUOTES, 'UTF-8', false); } else { $text = $vars['text']; } unset($vars['text']); } else { - $text = htmlspecialchars($url, ENT_QUOTES, 'UTF-8'); + $text = htmlspecialchars($url, ENT_QUOTES, 'UTF-8', false); } unset($vars['encode_text']); @@ -36,7 +36,7 @@ if ($url) { $url = elgg_normalize_url($url); if (isset($vars['is_action'])) { - $url = elgg_add_action_tokens_to_url($url, FALSE); + $url = elgg_add_action_tokens_to_url($url, false); unset($vars['is_action']); } |