1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 09:13:10 +00:00
This commit is contained in:
Unknwon 2015-09-02 05:16:30 -04:00
parent 1abfe4e05f
commit 6ea28f2a47

View file

@ -180,7 +180,7 @@ func (u *User) RelAvatarLink() string {
// AvatarLink returns user gravatar link.
func (u *User) AvatarLink() string {
link := u.RelAvatarLink()
if link[0] == '/' {
if link[0] == '/' && link[1] != '/' {
return setting.AppSubUrl + link
}
return link