aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-14 18:05:13 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-14 18:05:13 -0500
commit959c81d00e830e89fa9d583ee93bf8f166013fe0 (patch)
treef2eb9147d9b5ca6572b501d72fabdc06395c8fe3 /phpBB/includes/functions_posting.php
parent8e977544fb6763412e45f84791de8c3eccf321c9 (diff)
downloadforums-959c81d00e830e89fa9d583ee93bf8f166013fe0.tar
forums-959c81d00e830e89fa9d583ee93bf8f166013fe0.tar.gz
forums-959c81d00e830e89fa9d583ee93bf8f166013fe0.tar.bz2
forums-959c81d00e830e89fa9d583ee93bf8f166013fe0.tar.xz
forums-959c81d00e830e89fa9d583ee93bf8f166013fe0.zip
[ticket/11103] Use appropriate email templates to send notifications
Fixing a number of bugs PHPBB3-11103
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-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 e48a2b6bec..fc2c5a47b6 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -2229,6 +2229,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
case 'post' :
$phpbb_notifications->add_notifications(array('topic', 'quote'), array_merge($data, array(
'post_username' => $username,
+ 'poster_id' => (int) $user->data['user_id'],
)));
break;
@@ -2236,6 +2237,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
case 'quote' :
$phpbb_notifications->add_notifications(array('quote', 'bookmark', 'post'), array_merge($data, array(
'post_username' => $username,
+ 'poster_id' => (int) $user->data['user_id'],
)));
break;