mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 06:20:46 +02:00
[ticket/13454] Fix code sniffer complaints
PHPBB3-13454
This commit is contained in:
@@ -194,7 +194,7 @@ class acp_ban
|
|||||||
{
|
{
|
||||||
case 'user':
|
case 'user':
|
||||||
|
|
||||||
$field = 'username';;
|
$field = 'username';
|
||||||
|
|
||||||
$sql = 'SELECT b.*, u.user_id, u.username, u.username_clean
|
$sql = 'SELECT b.*, u.user_id, u.username, u.username_clean
|
||||||
FROM ' . BANLIST_TABLE . ' b, ' . USERS_TABLE . ' u
|
FROM ' . BANLIST_TABLE . ' b, ' . USERS_TABLE . ' u
|
||||||
|
@@ -25,7 +25,7 @@ class acp_disallow
|
|||||||
|
|
||||||
function main($id, $mode)
|
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');
|
$user->add_lang('acp/posting');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user