aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-02 20:30:34 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-02 20:30:34 -0700
commite1283016e48e2f785442ee8a0d18cd09376d241c (patch)
tree6e8e862638b21df43f24f68915453919a8fe0b8a
parent6da9015faa2147b2c8466db55005675a570f9b38 (diff)
downloadelgg-e1283016e48e2f785442ee8a0d18cd09376d241c.tar.gz
elgg-e1283016e48e2f785442ee8a0d18cd09376d241c.tar.bz2
Fixed avatar handling for default icons if the uploaded file is missing.
-rw-r--r--pages/avatar/view.php2
1 files changed, 1 insertions, 1 deletions
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);
}