aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-12-08 15:08:30 -0500
committerDavid King <imkingdavid@gmail.com>2013-12-08 15:08:30 -0500
commit6b081433c5ffc68ae8e46fadce0bc565e736437f (patch)
tree62521df46a9894f270f7d323b3107043f76e1182
parent0b76880816f6f06ee41c4cc99c4a481a04ec459f (diff)
downloadforums-6b081433c5ffc68ae8e46fadce0bc565e736437f.tar
forums-6b081433c5ffc68ae8e46fadce0bc565e736437f.tar.gz
forums-6b081433c5ffc68ae8e46fadce0bc565e736437f.tar.bz2
forums-6b081433c5ffc68ae8e46fadce0bc565e736437f.tar.xz
forums-6b081433c5ffc68ae8e46fadce0bc565e736437f.zip
[ticket/12069] Globalize in submit_post()
PHPBB3-12069
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 1c4fe1ca70..172f4403ac 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -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')