aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-06-09 00:51:01 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-06-09 00:51:01 +0200
commite8174f3d661f4d49feb34facf6ab9a2584aee9c9 (patch)
treedb0383548d6bafc0ebd076d26774012e61e32319
parentb667923bccfc84c4aeb799e16e6abbf0859e481c (diff)
downloadforums-e8174f3d661f4d49feb34facf6ab9a2584aee9c9.tar
forums-e8174f3d661f4d49feb34facf6ab9a2584aee9c9.tar.gz
forums-e8174f3d661f4d49feb34facf6ab9a2584aee9c9.tar.bz2
forums-e8174f3d661f4d49feb34facf6ab9a2584aee9c9.tar.xz
forums-e8174f3d661f4d49feb34facf6ab9a2584aee9c9.zip
[ticket/12675] Fix code sniffer complaints introduced by recent commits
PHPBB3-12675
-rw-r--r--phpBB/includes/functions_content.php2
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index f988d009ad..72fca905e0 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -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')
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 5dd39dbf0f..e2ca3a8752 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -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);