mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/11103] Use appropriate email templates to send notifications
Fixing a number of bugs PHPBB3-11103
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user