mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/16050] Fix PHP warning in MCP Banning tab on PHP 7.2+
PHPBB3-16050
This commit is contained in:
parent
61bdccbfd8
commit
7c6e660694
1 changed files with 1 additions and 1 deletions
|
@ -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]))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue