We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5c19d33b authored by Brion Vibber's avatar Brion Vibber

Bugfix in FB-sharing header for empty profile avatar

parent 33b16be0
......@@ -303,7 +303,7 @@ class ShownoticeAction extends OwnerDesignAction
$avatar = $this->profile->getAvatar(AVATAR_PROFILE_SIZE);
$avatarUrl = ($avatar) ?
$avatar->displayUrl() :
$this->element('meta', array('property' => 'og:image',
'content' => $avatarUrl));
$this->element('meta', array('property' => 'og:description',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment