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

Commit cced063e authored by mattl's avatar mattl

Fixed regression in latest Avatar fixes

I thought typing would fix it, but there's a problem earlier in the
execution chain which will be fixed in the future.
parent 24e05350
......@@ -174,10 +174,12 @@ class Profile extends Managed_DataObject
return null;
protected function _fillAvatar($width, Avatar $avatar)
protected function _fillAvatar($width, $avatar)
// This avoids storing null values, a problem report in issue #3478
$this->_avatars[$width] = $avatar;
if (!empty($avatar)) {
$this->_avatars[$width] = $avatar;
// For backwards compatibility only!
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