summaryrefslogtreecommitdiff
path: root/app/User
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-23 18:58:17 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-23 18:58:17 -0500
commitdaaf32beb5bb80d0f6ec06dd3df845b66c9aa7bd (patch)
treed3695d9daa16e5bd697548ff1486843d96d79d0a /app/User
parentdd579937e36ec494372d8d99b49d0943ea2b721d (diff)
Always escape initials in LetterAvatarProvider
Diffstat (limited to 'app/User')
-rw-r--r--app/User/Avatar/LetterAvatarProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/User/Avatar/LetterAvatarProvider.php b/app/User/Avatar/LetterAvatarProvider.php
index 727f9109..cc417a86 100644
--- a/app/User/Avatar/LetterAvatarProvider.php
+++ b/app/User/Avatar/LetterAvatarProvider.php
@@ -39,7 +39,7 @@ class LetterAvatarProvider extends Base implements AvatarProviderInterface
$rgb[1],
$rgb[2],
$this->helper->text->e($user['name'] ?: $user['username']),
- $initials
+ $this->helper->text->e($initials)
);
}