Fix thumbnails of user avatars with width of 96px
authorMatthias Schmidt <gravatronics@live.com>
Wed, 18 Feb 2015 17:38:27 +0000 (18:38 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 18 Feb 2015 17:38:27 +0000 (18:38 +0100)
wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php

index 7feddf135a451298803c5352fb1b175eac9fe3bf..bab0ec7397c2716b0f650526e6d74e3a4c42afb4 100644 (file)
@@ -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 {