mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 18:26:32 +02:00
Merge branch 'ticket/jellydoughnut/9679' into develop-olympus
* ticket/jellydoughnut/9679: [ticket/9679] phpBB offers to notify poster even if notification is disabled
This commit is contained in:
@@ -691,6 +691,8 @@ function approve_post($post_id_list, $id, $mode)
|
||||
{
|
||||
$show_notify = false;
|
||||
|
||||
if ($config['email_enable'] || $config['jab_enable'])
|
||||
{
|
||||
foreach ($post_info as $post_data)
|
||||
{
|
||||
if ($post_data['poster_id'] == ANONYMOUS)
|
||||
@@ -703,6 +705,7 @@ function approve_post($post_id_list, $id, $mode)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_NOTIFY_POSTER' => $show_notify,
|
||||
|
Reference in New Issue
Block a user