[ticket/12967] Fix undefined variable phpbb_dispatcher error.

https://tracker.phpbb.com/browse/PHPBB3-12967