diff options
author | David King <imkingdavid@gmail.com> | 2012-06-11 08:26:44 -0400 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-01 10:18:48 +0200 |
commit | 611d965b043c2a566e817f29d618ff841aa02c34 (patch) | |
tree | 4dc8a5dce3b3da0b6fd2ced08b9e93537ebb9571 /phpBB/includes/functions_display.php | |
parent | 6059bc7b45a098e4bc846fe3704543137cc1aba1 (diff) | |
download | forums-611d965b043c2a566e817f29d618ff841aa02c34.tar forums-611d965b043c2a566e817f29d618ff841aa02c34.tar.gz forums-611d965b043c2a566e817f29d618ff841aa02c34.tar.bz2 forums-611d965b043c2a566e817f29d618ff841aa02c34.tar.xz forums-611d965b043c2a566e817f29d618ff841aa02c34.zip |
[feature/events] Renamed $empty_avatar to $default_avatar
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 53a07d5591..6b145ea422 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -1271,15 +1271,15 @@ function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $ if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config)) { - $empty_avatar = ''; + $default_avatar = ''; if ($config['allow_avatar'] || $ignore_config) { // This allows extensions to change the default return when no avatar is given // Useful for default avatars - $vars = array('empty_avatar'); + $vars = array('default_avatar'); extract($phpbb_dispatcher->trigger_event('core.user_default_avatar', compact($vars))); } - return $empty_avatar; + return $default_avatar; } $avatar_img = ''; |