diff options
author | rxu <rxu@mail.ru> | 2019-05-11 10:45:34 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2019-05-11 10:45:34 +0700 |
commit | 7c6e6606940552d22e83c419a0b0488f317b886c (patch) | |
tree | d9205844d2140e615088a0414561997292f63e1c /phpBB/includes | |
parent | 61bdccbfd804c6638e977d250f6e9a0f30aa5f98 (diff) | |
download | forums-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.php | 2 |
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])) { |