mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00: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:
commit
4d61788843
1 changed files with 11 additions and 8 deletions
|
@ -691,16 +691,19 @@ function approve_post($post_id_list, $id, $mode)
|
||||||
{
|
{
|
||||||
$show_notify = false;
|
$show_notify = false;
|
||||||
|
|
||||||
foreach ($post_info as $post_data)
|
if ($config['email_enable'] || $config['jab_enable'])
|
||||||
{
|
{
|
||||||
if ($post_data['poster_id'] == ANONYMOUS)
|
foreach ($post_info as $post_data)
|
||||||
{
|
{
|
||||||
continue;
|
if ($post_data['poster_id'] == ANONYMOUS)
|
||||||
}
|
{
|
||||||
else
|
continue;
|
||||||
{
|
}
|
||||||
$show_notify = true;
|
else
|
||||||
break;
|
{
|
||||||
|
$show_notify = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue