summaryrefslogtreecommitdiffstats
path: root/extensions/Gravatar/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Gravatar/template')
-rw-r--r--extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl
index 6faed368d..66714748b 100644
--- a/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl
+++ b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl
@@ -8,7 +8,11 @@
[% IF user.settings.show_gravatars.value == 'On' %]
[% IF who.last_activity_ts %]
- <a href="user_profile?login=[% who.login FILTER uri %]">
+ [% IF user.id %]
+ <a href="user_profile?login=[% who.login FILTER uri %]">
+ [% ELSE %]
+ <a href="user_profile?user_id=[% who.id FILTER uri %]">
+ [% END %]
[% END %]
<img align="middle" src="[% who.gravatar FILTER none %]" width="32" height="32" border="0">
[% "</a>" IF who.last_activity_ts %]