Gravatar fallback does not respect 'AppSubUrl'-setting (#12149)

Closes #12148
This commit is contained in:
pari- 2018-06-04 16:03:59 +02:00 committed by Torkel Ödegaard
parent b5c53aae97
commit 9680a3d44d

View File

@ -52,7 +52,7 @@ type UserStars struct {
func GetGravatarUrl(text string) string {
if setting.DisableGravatar {
return "/public/img/user_profile.png"
return setting.AppSubUrl + "/public/img/user_profile.png"
}
if text == "" {