From e658fb3a978e40653d72ef33549177c87cb714ce Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 27 Feb 2009 13:33:16 +0000 Subject: Closes #651: I agree, changed to convert both quotes. git-svn-id: https://code.elgg.org/elgg/trunk@2979 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/icon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/profile/views/default') diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php index d6b82c831..ac278f7c1 100644 --- a/mod/profile/views/default/profile/icon.php +++ b/mod/profile/views/default/profile/icon.php @@ -19,7 +19,7 @@ if ($vars['entity'] instanceof ElggUser) { - $name = htmlentities($vars['entity']->name, null, 'UTF-8'); + $name = htmlentities($vars['entity']->name, ENT_QUOTES, 'UTF-8'); $username = $vars['entity']->username; if ($icontime = $vars['entity']->icontime) { @@ -77,7 +77,7 @@ } - ?> title="name, null, 'UTF-8'); ?>" /> title="name, ENT_QUOTES, 'UTF-8'); ?>" />