mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +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,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);
|
self::approve_topics($action, $topic_id_list, $id, $mode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
meta_refresh(3, $redirect);
|
meta_refresh(3, $redirect);
|
||||||
|
|
Loading…
Add table
Reference in a new issue