From 1e5214ec1118ec4b197d53ae2014281d6f81d9b8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 23 Feb 2015 21:10:32 +0100 Subject: [PATCH] User avatar thumbnail condition improvement --- .../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 1882a7a375..3c7c69cadc 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 && $this->height > 96) { + if ($this->width > 96 || $this->height > 96) { $size = 96; } else { -- 2.20.1