]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed avatar handling for default icons if the uploaded file is missing.
authorBrett Profitt <brett.profitt@gmail.com>
Mon, 3 Oct 2011 03:30:34 +0000 (20:30 -0700)
committerBrett Profitt <brett.profitt@gmail.com>
Mon, 3 Oct 2011 03:30:34 +0000 (20:30 -0700)
pages/avatar/view.php

index eb2cd10108ef997022750c52a10a70e570bfa10a..da22ad8495084dfc08f927a40720749ac8fc935d 100644 (file)
@@ -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);
 }