[ticket/12413] Fatal Error for feed.php?mode=forums

And remove deprecated use of request_var()

https://tracker.phpbb.com/browse/PHPBB3-12413
http://area52.phpbb.com/phpBB/viewtopic.php?f=81&t=45475

PHPBB3-12413