[ticket/12069] Globalize $phpbb_dispatcher in submit_post()

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