1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[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

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]))
{