git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit d6bf90cf authored by mmn's avatar mmn

If profile fullname is 0 chars use nickname

parent ade4518a
......@@ -345,7 +345,7 @@ class ProfilesettingsAction extends SettingsAction
$this->scoped->nickname = $nickname;
$this->scoped->profileurl = common_profile_url($this->scoped->getNickname());
}
$this->scoped->fullname = $fullname;
$this->scoped->fullname = (mb_strlen($fullname)>0 ? $fullname : $this->scoped->nickname);
$this->scoped->homepage = $homepage;
$this->scoped->bio = $bio;
$this->scoped->location = $location;
......
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