diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile/icon.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/profile/icon.php b/mod/profile/icon.php index 33a5cde7f..d99febd8c 100644 --- a/mod/profile/icon.php +++ b/mod/profile/icon.php @@ -39,6 +39,11 @@ if (!$success) {
global $CONFIG;
+ $test = elgg_view("icon/user/default/{$size}",array('entity' => $entity));
+ if (!empty($test)) {
+ header("Location: {$test}");
+ exit;
+ }
$contents = @file_get_contents($CONFIG->pluginspath . "profile/graphics/default{$size}.jpg");
}
|