From d201dbc6a7281b67203da1fd37b66daf731c04e9 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 16 Apr 2015 19:01:31 +0200 Subject: [PATCH] Fix typo in previous commit --- .../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 05f232297c..4a6a9e7cd0 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php @@ -130,7 +130,7 @@ class UserAvatar extends DatabaseObject implements IUserAvatar { case 64: case 96: - if ($this->size >= 128 && $this->height >= 128) { + if ($this->width >= 128 && $this->height >= 128) { $retinaSize = 128; } break; -- 2.20.1