1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 15:01:33 +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

@@ -71,7 +71,7 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
/**
* @inheritdoc
*/
public function get_custom_html($row, $alt = '')
public function get_custom_html($user, $row, $alt = '')
{
return '';
}