]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bugfix in FB-sharing header for empty profile avatar
authorBrion Vibber <brion@pobox.com>
Fri, 1 Oct 2010 21:42:12 +0000 (14:42 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 1 Oct 2010 21:42:12 +0000 (14:42 -0700)
actions/shownotice.php

index 005335e3b4b281831bb2a01dada39c9733392d37..c5180568b3aa5dd5c56c37bd955ea3fb5ac11c40 100644 (file)
@@ -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',