diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-08-22 15:16:26 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-08-22 15:17:01 +0300 |
commit | 4c7135a44da41c460d3cd2f70a6a237dacb55466 (patch) | |
tree | cf23433bc30be37fe5385c97f4efe4e88850af00 /lib | |
parent | 20aa7ee2804591de14b6464d82c98325dd260ed6 (diff) |
[stable9.1] Best practice through out the web speak of a max avatar image size of… (#25857)
* Best practice through out the web speak of a max avatar image size of 96 pixels
* Respect size argument
THX @felixboehm
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/User/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/User.php b/lib/private/User/User.php index a48941ea2c0..aa6277ca2a9 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -378,7 +378,7 @@ class User implements IUser { } $avatar = $this->avatarManager->getAvatar($this->uid); - $image = $avatar->get(-1); + $image = $avatar->get($size); if ($image) { return $image; } |