Skip to content

Commit 35502b8

Browse files
authored
Merge pull request #19167 from nextcloud/fix/tests/18745
Fix tests after #18745
2 parents 8be4efb + 55c17a3 commit 35502b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Avatar/Avatar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ protected function getAvatarVector(int $size): string {
133133
$bgRGB = $this->avatarBackgroundColor($userDisplayName);
134134
$bgHEX = sprintf("%02x%02x%02x", $bgRGB->r, $bgRGB->g, $bgRGB->b);
135135
$text = $this->getAvatarText();
136-
$toReplace = ['{size}', '{fill}', '{text}'];
136+
$toReplace = ['{size}', '{fill}', '{letter}'];
137137
return str_replace($toReplace, [$size, $bgHEX, $text], $this->svgTemplate);
138138
}
139139

0 commit comments

Comments
 (0)