aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-15 13:51:02 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-15 13:51:02 -0500
commit05b573ebf76c737f89deaefd22ce963aa910e5d1 (patch)
tree73fdbdff4eca038566ab8fbe1490df8a008fed08 /phpBB/includes/functions_posting.php
parentfc6457140cd775cb0f89c803324844d602200c14 (diff)
downloadforums-05b573ebf76c737f89deaefd22ce963aa910e5d1.tar
forums-05b573ebf76c737f89deaefd22ce963aa910e5d1.tar.gz
forums-05b573ebf76c737f89deaefd22ce963aa910e5d1.tar.bz2
forums-05b573ebf76c737f89deaefd22ce963aa910e5d1.tar.xz
forums-05b573ebf76c737f89deaefd22ce963aa910e5d1.zip
[ticket/11103] Topic and post dis/approval notifications
Remove the formatted title function, plaintext is not needed since email templates are used Fix 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 fc2c5a47b6..6089ef0014 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -2238,6 +2238,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
$phpbb_notifications->add_notifications(array('quote', 'bookmark', 'post'), array_merge($data, array(
'post_username' => $username,
'poster_id' => (int) $user->data['user_id'],
+ 'post_text' => $data['message'],
)));
break;
@@ -2252,6 +2253,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
$phpbb_notifications->update_notifications(array('quote', 'bookmark', 'post'), array_merge($data, array(
'post_username' => $username,
+ 'post_text' => $data['message'],
)));
break;
}