From: Brion Vibber Date: Fri, 1 Oct 2010 21:42:12 +0000 (-0700) Subject: Bugfix in FB-sharing header for empty profile avatar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c19d33b27e44449e72e5c4b8f3d21c98b31f63a;p=quix0rs-gnu-social.git Bugfix in FB-sharing header for empty profile avatar --- diff --git a/actions/shownotice.php b/actions/shownotice.php index 005335e3b4..c5180568b3 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',