1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00

[ticket/12675] Fix code sniffer complaints introduced by recent commits

PHPBB3-12675
This commit is contained in:
Marc Alexander
2014-06-09 00:51:01 +02:00
parent b667923bcc
commit e8174f3d66
2 changed files with 2 additions and 2 deletions

View File

@@ -655,7 +655,7 @@ class mcp_queue
if (!$post_data['topic_posts_approved'])
{
$phpbb_notifications->delete_notifications('topic_in_queue', $post_data['topic_id']);
if ($post_data['post_visibility'] == ITEM_UNAPPROVED)
{
$phpbb_notifications->add_notifications(array('topic'), $post_data);