Skip to content
Snippets Groups Projects
Commit 82fa26a6 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

BC fix - no user found should still direct to a default image

parent f5a895ac
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ function unl_avatars_pg_handler($segments) { ...@@ -20,7 +20,7 @@ function unl_avatars_pg_handler($segments) {
$size = $segments[2]; $size = $segments[2];
if (!$user = get_user_by_username($username)) { if (!$user = get_user_by_username($username)) {
return false; forward(elgg_get_simplecache_url("icons/user/default{$size}.gif"));
} }
//Forward to the new guy //Forward to the new guy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment