From 915a141fc2c450035be39b53b870fd841aa224f2 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 4 Dec 2015 14:17:53 +0100 Subject: [ticket/13454] Fix code sniffer complaints PHPBB3-13454 --- phpBB/includes/acp/acp_ban.php | 2 +- phpBB/includes/acp/acp_disallow.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB') diff --git a/phpBB/includes/acp/acp_ban.php b/phpBB/includes/acp/acp_ban.php index 2ab52be9e4..5aed78be08 100644 --- a/phpBB/includes/acp/acp_ban.php +++ b/phpBB/includes/acp/acp_ban.php @@ -194,7 +194,7 @@ class acp_ban { case 'user': - $field = 'username';; + $field = 'username'; $sql = 'SELECT b.*, u.user_id, u.username, u.username_clean FROM ' . BANLIST_TABLE . ' b, ' . USERS_TABLE . ' u diff --git a/phpBB/includes/acp/acp_disallow.php b/phpBB/includes/acp/acp_disallow.php index e54fd57e78..70eb398d07 100644 --- a/phpBB/includes/acp/acp_disallow.php +++ b/phpBB/includes/acp/acp_disallow.php @@ -25,7 +25,7 @@ class acp_disallow function main($id, $mode) { - global $db, $user, $template, $cache, $phpbb_log, $request;; + global $db, $user, $template, $cache, $phpbb_log, $request; $user->add_lang('acp/posting'); -- cgit v1.2.1