mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 20:13:22 +01: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
@ -702,8 +702,10 @@ 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user