aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 68c49c2457..ca2bfc3b65 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1276,8 +1276,8 @@ function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $
{
// This allows extensions to change the default return when no avatar is given
// Useful for default avatars
- $vars = array('default_avatar');
- extract($phpbb_dispatcher->trigger_event('core.user_default_avatar', compact($vars)));
+ $vars = array('avatar', 'avatar_type', 'ignore_config', 'default_avatar');
+ extract($phpbb_dispatcher->trigger_event('core.get_user_avatar_default', compact($vars)));
}
return $default_avatar;
}