From abece04e7cd21b341dfdd7be5bdcbb1b28c6c8c8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 18 Feb 2015 18:38:27 +0100 Subject: [PATCH] Fix thumbnails of user avatars with width of 96px --- .../install/files/lib/data/user/avatar/UserAvatar.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1