summaryrefslogtreecommitdiff
path: root/lib/avatarlink.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/avatarlink.php')
-rw-r--r--lib/avatarlink.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/avatarlink.php b/lib/avatarlink.php
index e67799e2e..7d4256d6e 100644
--- a/lib/avatarlink.php
+++ b/lib/avatarlink.php
@@ -76,8 +76,8 @@ class AvatarLink
$alink = new AvatarLink();
$alink->url = $filename;
$alink->height = $size;
+ $alink->width = $size;
if (!empty($filename)) {
- $alink->width = $size;
$alink->type = self::mediatype($filename);
} else {
$alink->url = User_group::defaultLogo($size);