Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
Merge pull request #509 from chadoe/avatarlink

Fix AvatarLink when using a suburl