Merge remote-tracking branch 'imkingdavid/ticket/12069' into develop

* imkingdavid/ticket/12069:
  [ticket/12069] Globalize  in submit_post()
This commit is contained in:
Andreas Fischer 2013-12-08 21:43:06 +01:00
commit d5742d7ec1

View file

@ -1473,7 +1473,7 @@ function delete_post($forum_id, $topic_id, $post_id, &$data, $is_soft = false, $
*/
function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $update_message = true, $update_search_index = true)
{
global $db, $auth, $user, $config, $phpEx, $template, $phpbb_root_path, $phpbb_container;
global $db, $auth, $user, $config, $phpEx, $template, $phpbb_root_path, $phpbb_container, $phpbb_dispatcher;
// We do not handle erasing posts here
if ($mode == 'delete')