diff options
Diffstat (limited to 'extensions/Gravatar/Extension.pm')
-rw-r--r-- | extensions/Gravatar/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Gravatar/Extension.pm b/extensions/Gravatar/Extension.pm index 488970d89..050a0c27d 100644 --- a/extensions/Gravatar/Extension.pm +++ b/extensions/Gravatar/Extension.pm @@ -27,8 +27,8 @@ sub _user_gravatar { return DEFAULT_URL; } if (!$self->{gravatar}) { - (my $email = $self->email) =~ s/\+(.*?)\@/@/; - $self->{gravatar} = 'https://secure.gravatar.com/avatar/' . md5_hex(lc($email)) . '?d=mm'; + $self->{gravatar} = 'https://secure.gravatar.com/avatar/' . + md5_hex(lc($self->email)) . '?d=mm'; } $size ||= 64; return $self->{gravatar} . "&size=$size"; |