aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorRMcGirr83 <rmcgirr83@gmail.com>2017-03-02 09:29:39 -0500
committerRMcGirr83 <rmcgirr83@gmail.com>2017-03-02 09:29:39 -0500
commit63f7fb1ea636c072c0695119a912d7400417705a (patch)
treec7c2e68444d41195f490077b5db96bac48eb2b74 /phpBB/includes/functions_content.php
parent9267235f30b3275b4b00f49f99c6ae259ce26a3f (diff)
downloadforums-63f7fb1ea636c072c0695119a912d7400417705a.tar
forums-63f7fb1ea636c072c0695119a912d7400417705a.tar.gz
forums-63f7fb1ea636c072c0695119a912d7400417705a.tar.bz2
forums-63f7fb1ea636c072c0695119a912d7400417705a.tar.xz
forums-63f7fb1ea636c072c0695119a912d7400417705a.zip
[ticket/15107] Add message_parser to event
https://tracker.phpbb.com/browse/PHPBB3-15107 PHPBB3-15107
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 8858d1a307..b71d97eefb 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -679,9 +679,11 @@ function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bb
* @var string uid The BBCode UID
* @var string bitfield The BBCode Bitfield
* @var int flags The BBCode Flags
+ * @var string message_parser The message_parser object
* @since 3.1.0-a1
+ * @change 3.1.11-RC1
*/
- $vars = array('text', 'uid', 'bitfield', 'flags');
+ $vars = array('text', 'uid', 'bitfield', 'flags', 'message_parser');
extract($phpbb_dispatcher->trigger_event('core.modify_text_for_storage_after', compact($vars)));
return $message_parser->warn_msg;