Commit 16c9e00d authored by Stelios Milidonis's avatar Stelios Milidonis
Browse files

fixing fullname

parent 8c52ee0c
Pipeline #5383 failed with stage
in 0 seconds
......@@ -557,12 +557,12 @@ func (u *User) getDisplayName(baseName, nameFormat string) string {
if nameFormat == SHOW_NICKNAME_FULLNAME || nameFormat == SHOW_NICKNAME_USERNAME {
if len(u.Nickname) > 0 {
displayName = u.Nickname
} else if nameFormat == SHOW_NICKNAME_FULLNAME && len(fullName) > 0 {
displayName = fullName
} else if nameFormat == SHOW_NICKNAME_FULLNAME && len(fullname) > 0 {
displayName = fullname
}
} else if nameFormat == SHOW_FULLNAME {
if len(fullName) > 0 {
displayName = fullName
if len(fullname) > 0 {
displayName = fullname
}
}
......
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