[ticket/12967] Fix undefined variable phpbb_dispatcher error.

PHPBB3-12967
Merge pull request #2867 from prototech/ticket/12967

[ticket/12967] Fix undefined variable phpbb_dispatcher error.
Merge branch 'develop-ascraeus' into develop