aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-20 15:13:13 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-24 17:26:27 +0200
commitc2dace762ec295c7a2d67758006b1fff56f1f573 (patch)
tree5717be8bfd7de174b7435f7c729250d4e115fa0c /phpBB/includes/functions_posting.php
parent8599554443deee1d655ffc4ae0ad97c60ba0a123 (diff)
downloadforums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar
forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar.gz
forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar.bz2
forums-c2dace762ec295c7a2d67758006b1fff56f1f573.tar.xz
forums-c2dace762ec295c7a2d67758006b1fff56f1f573.zip
[ticket/12273] Fix long $vars lines for existing events
PHPBB3-12273
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index df55c4540c..b3d8ccdb39 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1497,7 +1497,8 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
* @var bool update_search_index Flag indicating if the search index will be updated
* @since 3.1.0-a4
*/
- $vars = array('mode', 'subject', 'username', 'topic_type', 'poll', 'data', 'update_message', 'update_search_index');
+ $vars = array('mode', 'subject', 'username', 'topic_type', 'poll', 'data');
+ $vars = array_merge($vars, array('update_message', 'update_search_index'));
extract($phpbb_dispatcher->trigger_event('core.modify_submit_post_data', compact($vars)));
// We do not handle erasing posts here