mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12270] Correcting to follow phpBB coding standards
I forgot to put the brackets (so it follows the phpBB coding standards) and changed "count($topic_id_list) > 0" to "!empty($topic_id_list)", making the syntax more comprehensible. PHPBB3-12270
This commit is contained in:
parent
f9edc85f82
commit
1fec5e6967
1 changed files with 3 additions and 1 deletions
|
@ -702,9 +702,11 @@ class mcp_queue
|
|||
}
|
||||
}
|
||||
|
||||
if(count($topic_id_list) > 0)
|
||||
if (!empty($topic_id_list))
|
||||
{
|
||||
self::approve_topics($action, $topic_id_list, $id, $mode);
|
||||
}
|
||||
}
|
||||
|
||||
meta_refresh(3, $redirect);
|
||||
$message = $user->lang[$success_msg];
|
||||
|
|
Loading…
Add table
Reference in a new issue