Commit 9680a3d4 by pari- Committed by Torkel Ödegaard

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

Closes #12148
parent b5c53aae
......@@ -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 == "" {
......
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