aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-07 09:46:36 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-07 09:46:36 +0200
commitd54aa190f1f955fe33342c939520c0155a860010 (patch)
treee256042bbfb5f6d21080044331d50507d34bab2f /phpBB/posting.php
parentca5d4fd31031a47cc3a485457473b82660b84ed1 (diff)
parent9d364aee4a739d0a8c8b745449940a37d81c9abf (diff)
downloadforums-d54aa190f1f955fe33342c939520c0155a860010.tar
forums-d54aa190f1f955fe33342c939520c0155a860010.tar.gz
forums-d54aa190f1f955fe33342c939520c0155a860010.tar.bz2
forums-d54aa190f1f955fe33342c939520c0155a860010.tar.xz
forums-d54aa190f1f955fe33342c939520c0155a860010.zip
Merge pull request #3623 from s9e/ticket/10620
[ticket/10620] Quote improvements
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index a5060620da..eafae332c6 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1603,7 +1603,12 @@ if ($generate_quote)
{
$message_parser->message = $phpbb_container->get('text_formatter.utils')->generate_quote(
censor_text($message_parser->message),
- array('author' => $post_data['quote_username'])
+ array(
+ 'author' => $post_data['quote_username'],
+ 'post_id' => $post_data['post_id'],
+ 'time' => $post_data['post_time'],
+ 'user_id' => $post_data['poster_id'],
+ )
);
$message_parser->message .= "\n\n";
}