Skip to content

Commit ea529be

Browse files
committed
Use File::getFullSizeImageSource() instead of File::getLink()
1 parent e378fed commit ea529be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wcfsetup/install/files/lib/data/user/avatar/AvatarDecorator.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/**
1010
* Wraps avatars to provide compatibility layers.
1111
*
12-
* @author Tim Duesterhus
13-
* @copyright 2001-2021 WoltLab GmbH
12+
* @author Olaf Braun, Tim Duesterhus
13+
* @copyright 2001-2024 WoltLab GmbH
1414
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1515
*/
1616
final class AvatarDecorator implements IUserAvatar, ISafeFormatAvatar
@@ -62,7 +62,7 @@ public function getURL($size = null)
6262
return $thumbnail->getLink();
6363
}
6464

65-
return $this->avatar->getLink();
65+
return $this->avatar->getFullSizeImageSource();
6666
} else {
6767
return $this->avatar->getURL();
6868
}

0 commit comments

Comments
 (0)