diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-27 13:33:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-27 13:33:16 +0000 |
commit | e658fb3a978e40653d72ef33549177c87cb714ce (patch) | |
tree | ea2d6915df13ff06b36960cf39e3e91bbee14b50 /views/default/output/confirmlink.php | |
parent | d318c0249ea50907b8b3cbac3a6a6293abf2c0d7 (diff) | |
download | elgg-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/output/confirmlink.php')
-rw-r--r-- | views/default/output/confirmlink.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 2ef3ad14b..a51e58af9 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -21,4 +21,4 @@ if (!$confirm)
$confirm = elgg_echo('question:areyousure');
?>
-<a href="<?php echo $vars['href']; ?>" onclick="return confirm('<?php echo addslashes($confirm); ?>');"><?php echo htmlentities($vars['text'], null, 'UTF-8'); ?></a>
\ No newline at end of file +<a href="<?php echo $vars['href']; ?>" onclick="return confirm('<?php echo addslashes($confirm); ?>');"><?php echo htmlentities($vars['text'], ENT_QUOTES, 'UTF-8'); ?></a>
\ No newline at end of file |