Bugfix in FB-sharing header for empty profile avatar
This commit is contained in:
parent
33b16be0a4
commit
5c19d33b27
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user