aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-10-18 21:47:15 -0400
committerMarc Alexander <admin@m-a-styles.de>2014-10-18 21:47:15 -0400
commitc939f1b2c7c0d496b2a39434b7eb5da7a9749b01 (patch)
tree9c79236d20aeca615ef9e5ce0d86635034e12758 /phpBB/includes
parentb3421e397dc8bff3571a6415a5e791a7baa84cd1 (diff)
parent9bc9e42c94d51cb5fbefefd97dd706c33f269614 (diff)
downloadforums-c939f1b2c7c0d496b2a39434b7eb5da7a9749b01.tar
forums-c939f1b2c7c0d496b2a39434b7eb5da7a9749b01.tar.gz
forums-c939f1b2c7c0d496b2a39434b7eb5da7a9749b01.tar.bz2
forums-c939f1b2c7c0d496b2a39434b7eb5da7a9749b01.tar.xz
forums-c939f1b2c7c0d496b2a39434b7eb5da7a9749b01.zip
Merge pull request #3030 from Senky/ticket/13164
[ticket/13164] data sent to core.submit_post_end event does not include fresh post_visibility
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 1fdc7ee9ea..af44f6270e 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -2384,6 +2384,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
* @var int topic_type Variable containing topic type value
* @var array poll Array with the poll data for the post
* @var array data Array with the data for the post
+ * @var int post_visibility Variable containing up to date post visibility
* @var bool update_message Flag indicating if the post will be updated
* @var bool update_search_index Flag indicating if the search index will be updated
* @var string url The "Return to topic" URL
@@ -2399,6 +2400,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
'topic_type',
'poll',
'data',
+ 'post_visibility',
'update_message',
'update_search_index',
'url',