[ticket/13116] Interchange post and topic approval notification

PHPBB3-13116
This commit is contained in:
Jakub Senko 2014-09-29 21:13:53 +02:00
parent 6f093ade8a
commit e132cdd325

View file

@ -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);
}
}
}