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

http://tracker.phpbb.com/browse/PHPBB3-11802

PHPBB3-11802