diff --git a/admin/profile.php b/admin/profile.php index 54048ef3..3094644b 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -12,7 +12,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');

isSecure() ? 'https://secure' : 'http://www') . '.gravatar.com/avatar/' . md5($user->mail) . '?s=220&r=X' . + . ($request->isSecure() ? 'https://secure' : 'http://www') . '.gravatar.com/avatar/' . md5(strtolower($user->mail)) . '?s=220&r=X' . '&d=mm" alt="' . $user->screenName . '" />'; ?>

screenName(); ?>

name(); ?>

diff --git a/var/Widget/Abstract/Users.php b/var/Widget/Abstract/Users.php index b45edf9f..58a22bee 100644 --- a/var/Widget/Abstract/Users.php +++ b/var/Widget/Abstract/Users.php @@ -239,7 +239,7 @@ class Widget_Abstract_Users extends Widget_Abstract public function gravatar($size = 40, $rating = 'X', $default = NULL, $class = NULL) { echo ''; } }