diff options
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/network.php b/include/network.php index 38d0980d5..59705634b 100644 --- a/include/network.php +++ b/include/network.php @@ -692,13 +692,13 @@ function allowed_email($email) { }} -if(! function_exists('gravatar_img')) { -function gravatar_img($email) { +if(! function_exists('avatar_img')) { +function avatar_img($email) { $size = 175; $opt = 'identicon'; // psuedo-random geometric pattern if not found $rating = 'pg'; $hash = md5(trim(strtolower($email))); - + $url = 'http://www.gravatar.com/avatar/' . $hash . '.jpg' . '?s=' . $size . '&d=' . $opt . '&r=' . $rating; |