summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-06-16 18:27:51 -0700
committerZach Copley <zach@status.net>2010-06-16 18:27:51 -0700
commita6ce4eef0df225dd863baf45d5615cbe22dcdea6 (patch)
tree62c42f7bfa9025be7edceae7d8c942771dc5d51a
parentba2bffa76e48d97e03ad0c296c2bc9767549f699 (diff)
Fix problem with AvatarLink in which it was sometimes leaving the width attribute empty
-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);