From 92d3a5dbab7de066befdf5a6c980e0b6b0f58b15 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 23 Feb 2015 20:09:36 +0100 Subject: [PATCH] Fix thumbnail for 96px x 96px avatars --- .../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 bab0ec7397..1882a7a375 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 && $this->height > 96) { $size = 96; } else { -- 2.20.1