diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-27 20:17:16 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-27 20:17:16 +0100 |
commit | 55c17a3571ba8afbd7f984fbd7ce38e8bc1c75a0 (patch) | |
tree | c33839a67f73e9e8d949bcb87a1cbc1dbade6a4b /lib/private/Avatar | |
parent | 8be4efb0234a8bd3ea5d90f230efc40732291235 (diff) | |
download | nextcloud-server-55c17a3571ba8afbd7f984fbd7ce38e8bc1c75a0.tar.gz nextcloud-server-55c17a3571ba8afbd7f984fbd7ce38e8bc1c75a0.zip |
Fix tests after #18745
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Avatar')
-rw-r--r-- | lib/private/Avatar/Avatar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar/Avatar.php b/lib/private/Avatar/Avatar.php index 5a91a09b4bf..8f8e5e449cc 100644 --- a/lib/private/Avatar/Avatar.php +++ b/lib/private/Avatar/Avatar.php @@ -133,7 +133,7 @@ abstract class Avatar implements IAvatar { $bgRGB = $this->avatarBackgroundColor($userDisplayName); $bgHEX = sprintf("%02x%02x%02x", $bgRGB->r, $bgRGB->g, $bgRGB->b); $text = $this->getAvatarText(); - $toReplace = ['{size}', '{fill}', '{text}']; + $toReplace = ['{size}', '{fill}', '{letter}']; return str_replace($toReplace, [$size, $bgHEX, $text], $this->svgTemplate); } |