[ticket/12192] Fix call to undefined method get_user_avatar().

PHPBB3-12192
Merge pull request #2032 from prototech/ticket/12192

[ticket/12192] Fix call to undefined method get_user_avatar().

* prototech/ticket/12192:
  [ticket/12192] Fix call to undefined method get_user_avatar().