1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[feature/avatars] Pass phpbb_user object to get_custom_html()

Pass the phpbb_user object to function get_custom_html(). This object is
used in that method. Also fixed incorrect arguments to get_custom_html()
in phpbb_get_avatar().

PHPBB3-10018
This commit is contained in:
Marc Alexander
2013-01-08 15:34:20 +01:00
parent 023d7a972d
commit 8778c9c945
4 changed files with 7 additions and 4 deletions

View File

@@ -1400,7 +1400,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false)
if ($driver)
{
$html = $driver->get_custom_html($row, $ignore_config, $alt);
$html = $driver->get_custom_html($user, $row, $alt);
if (!empty($html))
{
return $html;