From: Brett Profitt Date: Mon, 3 Oct 2011 03:30:34 +0000 (-0700) Subject: Fixed avatar handling for default icons if the uploaded file is missing. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e1283016e48e2f785442ee8a0d18cd09376d241c;p=lorea%2Felgg.git Fixed avatar handling for default icons if the uploaded file is missing. --- 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); }