aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-05-14 17:18:35 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-14 17:18:35 +0200
commitfdc04cb9ec55b5c176b01b2c7affb0d7011d81a7 (patch)
treede1f63f976f3510f084aa737058fe1f20e905b5e /phpBB
parentd6a6e8697523ece999045274d9ca87e2df266147 (diff)
parent7c6e6606940552d22e83c419a0b0488f317b886c (diff)
downloadforums-fdc04cb9ec55b5c176b01b2c7affb0d7011d81a7.tar
forums-fdc04cb9ec55b5c176b01b2c7affb0d7011d81a7.tar.gz
forums-fdc04cb9ec55b5c176b01b2c7affb0d7011d81a7.tar.bz2
forums-fdc04cb9ec55b5c176b01b2c7affb0d7011d81a7.tar.xz
forums-fdc04cb9ec55b5c176b01b2c7affb0d7011d81a7.zip
Merge pull request #5588 from rxu/ticket/16050
[ticket/16050] Fix PHP warning in MCP Banning tab on PHP 7.2+
Diffstat (limited to 'phpBB')
-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]))
{