aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-12-21 14:41:53 +0100
committerJakub Senko <jakubsenko@gmail.com>2016-12-26 13:32:31 +0100
commitfbcbd79d79c5510d3943e0e1068801a8ea62146d (patch)
tree27d4804cdbc288c325d1035e81011503e18c5b1f /phpBB/posting.php
parentdbd9c1f242ae7c7660feddf2677d41aa82bd21b4 (diff)
downloadforums-fbcbd79d79c5510d3943e0e1068801a8ea62146d.tar
forums-fbcbd79d79c5510d3943e0e1068801a8ea62146d.tar.gz
forums-fbcbd79d79c5510d3943e0e1068801a8ea62146d.tar.bz2
forums-fbcbd79d79c5510d3943e0e1068801a8ea62146d.tar.xz
forums-fbcbd79d79c5510d3943e0e1068801a8ea62146d.zip
[ticket/14929] Add error to core.posting_modify_message_text
PHPBB3-14929
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index db580d926b..90e52b3de8 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -941,7 +941,9 @@ if ($submit || $preview || $refresh)
* is posting a new topic or editing a post)
* @var bool refresh Whether or not to retain previously submitted data
* @var object message_parser The message parser object
+ * @var array error Array of errors
* @since 3.1.2-RC1
+ * @changed 3.1.11-RC1 Added error
*/
$vars = array(
'post_data',
@@ -956,6 +958,7 @@ if ($submit || $preview || $refresh)
'cancel',
'refresh',
'message_parser',
+ 'error',
);
extract($phpbb_dispatcher->trigger_event('core.posting_modify_message_text', compact($vars)));