From e1283016e48e2f785442ee8a0d18cd09376d241c Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Sun, 2 Oct 2011 20:30:34 -0700 Subject: Fixed avatar handling for default icons if the uploaded file is missing. --- pages/avatar/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/avatar/view.php b/pages/avatar/view.php index eb2cd1010..da22ad849 100644 --- a/pages/avatar/view.php +++ b/pages/avatar/view.php @@ -31,7 +31,7 @@ if ($filehandler->open("read")) { } if (!$success) { - $url = "_graphics/icons/user/default{$size}"; + $url = "_graphics/icons/user/default{$size}.gif"; $url = elgg_normalize_url($url); forward($url); } -- cgit v1.2.3