mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
Merge pull request #3004 from Senky/ticket/13116
[ticket/13116] Topic and post approval notifications got interchanged
This commit is contained in:
commit
2ee13bbc24
@ -745,11 +745,11 @@ class mcp_queue
|
||||
|
||||
if (!$post_data['topic_posts_approved'])
|
||||
{
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_post', $post_data);
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_topic', $post_data);
|
||||
}
|
||||
else
|
||||
{
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_topic', $post_data);
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_post', $post_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user