aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2019-05-11 10:45:34 +0700
committerrxu <rxu@mail.ru>2019-05-11 10:45:34 +0700
commit7c6e6606940552d22e83c419a0b0488f317b886c (patch)
treed9205844d2140e615088a0414561997292f63e1c /phpBB/includes
parent61bdccbfd804c6638e977d250f6e9a0f30aa5f98 (diff)
downloadforums-7c6e6606940552d22e83c419a0b0488f317b886c.tar
forums-7c6e6606940552d22e83c419a0b0488f317b886c.tar.gz
forums-7c6e6606940552d22e83c419a0b0488f317b886c.tar.bz2
forums-7c6e6606940552d22e83c419a0b0488f317b886c.tar.xz
forums-7c6e6606940552d22e83c419a0b0488f317b886c.zip
[ticket/16050] Fix PHP warning in MCP Banning tab on PHP 7.2+
PHPBB3-16050
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/mcp/mcp_ban.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_ban.php b/phpBB/includes/mcp/mcp_ban.php
index 8797f06db8..6f748f5433 100644
--- a/phpBB/includes/mcp/mcp_ban.php
+++ b/phpBB/includes/mcp/mcp_ban.php
@@ -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]))
{