From: Matthias Schmidt Date: Wed, 18 Feb 2015 17:38:27 +0000 (+0100) Subject: Fix thumbnails of user avatars with width of 96px X-Git-Tag: 2.1.0_RC_2~29 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=abece04e7cd21b341dfdd7be5bdcbb1b28c6c8c8;p=GitHub%2FWoltLab%2FWCF.git Fix thumbnails of user avatars with width of 96px --- diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php index 7feddf135a..bab0ec7397 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php @@ -68,7 +68,7 @@ class UserAvatar extends DatabaseObject implements IUserAvatar { case 48: case 64: - if ($this->width > 96) { + if ($this->width >= 96) { $size = 96; } else {