diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-15 13:51:02 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-15 13:51:02 -0500 |
commit | 05b573ebf76c737f89deaefd22ce963aa910e5d1 (patch) | |
tree | 73fdbdff4eca038566ab8fbe1490df8a008fed08 /phpBB/includes/functions_posting.php | |
parent | fc6457140cd775cb0f89c803324844d602200c14 (diff) | |
download | forums-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.php | 2 |
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; } |