From 410c4ff1a077b2273619219a57427090b149688f Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 9 Feb 2012 17:37:41 +0000 Subject: [PATCH] default gravatar url needs urlencoding --- core/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/user.class.php b/core/user.class.php index aa9073d1..5d418bce 100644 --- a/core/user.class.php +++ b/core/user.class.php @@ -229,7 +229,7 @@ class User { if(!empty($this->email)) { $hash = md5(strtolower($this->email)); $s = $config->get_string("avatar_gravatar_size"); - $d = $config->get_string("avatar_gravatar_default"); + $d = urlencode($config->get_string("avatar_gravatar_default")); $r = $config->get_string("avatar_gravatar_rating"); return ""; }