aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/views/default/profile/icon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php
index 25597101c..8424f4c3f 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);
+ $name = htmlentities($vars['entity']->name, null, 'UTF-8');
$username = $vars['entity']->username;
if ($icontime = $vars['entity']->icontime) {