mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #5588 from rxu/ticket/16050
[ticket/16050] Fix PHP warning in MCP Banning tab on PHP 7.2+
This commit is contained in:
commit
fdc04cb9ec
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