mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12675] Fix code sniffer complaints introduced by recent commits
This commit is contained in:
commit
31abf1ab02
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;
|
// no break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($username_string))
|
if (!isset($username_string))
|
||||||
{
|
{
|
||||||
if (($mode == 'full' && !$profile_url) || $mode == 'no_profile')
|
if (($mode == 'full' && !$profile_url) || $mode == 'no_profile')
|
||||||
|
|
|
@ -655,7 +655,7 @@ class mcp_queue
|
||||||
if (!$post_data['topic_posts_approved'])
|
if (!$post_data['topic_posts_approved'])
|
||||||
{
|
{
|
||||||
$phpbb_notifications->delete_notifications('topic_in_queue', $post_data['topic_id']);
|
$phpbb_notifications->delete_notifications('topic_in_queue', $post_data['topic_id']);
|
||||||
|
|
||||||
if ($post_data['post_visibility'] == ITEM_UNAPPROVED)
|
if ($post_data['post_visibility'] == ITEM_UNAPPROVED)
|
||||||
{
|
{
|
||||||
$phpbb_notifications->add_notifications(array('topic'), $post_data);
|
$phpbb_notifications->add_notifications(array('topic'), $post_data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue