1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +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:
marcosbc 2014-04-06 23:16:23 +02:00
parent f9edc85f82
commit 1fec5e6967

View File

@ -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);