mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12675] Fix code sniffer complaints introduced by recent commits
PHPBB3-12675
This commit is contained in:
parent
b667923bcc
commit
e8174f3d66
2 changed files with 2 additions and 2 deletions
|
@ -1401,7 +1401,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
|
|||
|
||||
// no break;
|
||||
}
|
||||
|
||||
|
||||
if (!isset($username_string))
|
||||
{
|
||||
if (($mode == 'full' && !$profile_url) || $mode == 'no_profile')
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue