diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-06-20 15:54:55 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-01 10:18:50 +0200 |
| commit | 3af0ae69eed6955a23b29087891258efb1a06e33 (patch) | |
| tree | 0def11aafdbb37ce1f0b8505051550dcd91bfa64 /phpBB/includes/functions_display.php | |
| parent | 730bd6eb08aa76dc54e661b03207e2d695d9a8c5 (diff) | |
| download | forums-3af0ae69eed6955a23b29087891258efb1a06e33.tar forums-3af0ae69eed6955a23b29087891258efb1a06e33.tar.gz forums-3af0ae69eed6955a23b29087891258efb1a06e33.tar.bz2 forums-3af0ae69eed6955a23b29087891258efb1a06e33.tar.xz forums-3af0ae69eed6955a23b29087891258efb1a06e33.zip | |
[feature/php-events] Properly name user_default_avatar and add additional vars
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_display.php')
| -rw-r--r-- | phpBB/includes/functions_display.php | 4 |
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; } |
