mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -745,11 +745,11 @@ class mcp_queue
|
||||||
|
|
||||||
if (!$post_data['topic_posts_approved'])
|
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
|
else
|
||||||
{
|
{
|
||||||
$phpbb_notifications->add_notifications('notification.type.approve_topic', $post_data);
|
$phpbb_notifications->add_notifications('notification.type.approve_post', $post_data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue