diff options
author | yp05327 <576951401@qq.com> | 2024-02-02 19:01:11 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:01:11 +0000 |
commit | 3aed8ae03475a430c0dc8e33f42fa9269a4844bd (patch) | |
tree | 62b7d27520a18538fc4aca8a6ead7aadf09f430c /modules | |
parent | a062725758b765cdedd1b02da5982c6fbfc5f702 (diff) | |
download | gitea-3aed8ae03475a430c0dc8e33f42fa9269a4844bd.tar.gz gitea-3aed8ae03475a430c0dc8e33f42fa9269a4844bd.zip |
Fix default avatar image size in PR diff page (#28971)
Fix #28941
ps: didn't test. The repo is too big to migrate.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/templates/util_avatar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/templates/util_avatar.go b/modules/templates/util_avatar.go index 462668588a..85832cf264 100644 --- a/modules/templates/util_avatar.go +++ b/modules/templates/util_avatar.go @@ -59,7 +59,7 @@ func (au *AvatarUtils) Avatar(item any, others ...any) template.HTML { } } - return "" + return AvatarHTML(avatars.DefaultAvatarLink(), size, class, "") } // AvatarByAction renders user avatars from action. args: action, size (int), class (string) |