summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-01 14:42:12 -0700
committerBrion Vibber <brion@pobox.com>2010-10-01 14:42:12 -0700
commit5c19d33b27e44449e72e5c4b8f3d21c98b31f63a (patch)
tree0b4488c18db0f7f69282598b466fc4ed15aff102 /actions
parent33b16be0a40e78dee3cf25ab27ea95202f0e772e (diff)
Bugfix in FB-sharing header for empty profile avatar
Diffstat (limited to 'actions')
-rw-r--r--actions/shownotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 005335e3b..c5180568b 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -303,7 +303,7 @@ class ShownoticeAction extends OwnerDesignAction
$avatar = $this->profile->getAvatar(AVATAR_PROFILE_SIZE);
$avatarUrl = ($avatar) ?
$avatar->displayUrl() :
- Avatar::defaultImage($avatar_size);
+ Avatar::defaultImage(AVATAR_PROFILE_SIZE);
$this->element('meta', array('property' => 'og:image',
'content' => $avatarUrl));
$this->element('meta', array('property' => 'og:description',