aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:46:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:46:44 +0200
commit87899b0e140400e23341ea1286d50e330132be90 (patch)
tree4c554fa2b949a12de2c7f33f3bf0b714c900e949 /phpBB/includes/functions_posting.php
parent01e2d7c26c9974405c073d43ecd12614aca6faa5 (diff)
downloadforums-87899b0e140400e23341ea1286d50e330132be90.tar
forums-87899b0e140400e23341ea1286d50e330132be90.tar.gz
forums-87899b0e140400e23341ea1286d50e330132be90.tar.bz2
forums-87899b0e140400e23341ea1286d50e330132be90.tar.xz
forums-87899b0e140400e23341ea1286d50e330132be90.zip
[ticket/12273] Update existing events
PHPBB3-12273
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index b3d8ccdb39..7dbcae7f6e 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1497,8 +1497,16 @@ 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');
- $vars = array_merge($vars, array('update_message', 'update_search_index'));
+ $vars = array(
+ 'mode',
+ 'subject',
+ 'username',
+ 'topic_type',
+ 'poll',
+ 'data',
+ 'update_message',
+ 'update_search_index',
+ );
extract($phpbb_dispatcher->trigger_event('core.modify_submit_post_data', compact($vars)));
// We do not handle erasing posts here