From: Matthias Schmidt Date: Mon, 23 Feb 2015 19:09:36 +0000 (+0100) Subject: Fix thumbnail for 96px x 96px avatars X-Git-Tag: 2.1.0~49 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92d3a5dbab7de066befdf5a6c980e0b6b0f58b15;p=GitHub%2FWoltLab%2FWCF.git Fix thumbnail for 96px x 96px avatars --- 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 {