[ticket/11802] replace $browser with $user->browser

PHPBB3-11802