[ticket/16050] Fix PHP warning in MCP Banning tab on PHP 7.2+

PHPBB3-16050
This commit is contained in:
rxu 2019-05-11 10:45:34 +07:00
parent 61bdccbfd8
commit 7c6e660694
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -269,7 +269,7 @@ class mcp_ban
}
else if ($post_id)
{
$post_info = phpbb_get_post_data($post_id, 'm_ban');
$post_info = phpbb_get_post_data(array($post_id), 'm_ban');
if (count($post_info) && !empty($post_info[$post_id]))
{