aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-29 11:05:45 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-01 18:54:08 +0100
commit66143e99bee0931b77c50d9e3b1fbd0b9629e48d (patch)
treeafac0e0f0aae352ee16329803e770c66a2381b2c /phpBB
parent4a2e203a80a4ab8f7983b8b203de38b37bd8764c (diff)
downloadforums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar.gz
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar.bz2
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar.xz
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.zip
[ticket/15055] Further fixes to ensure PHP 7.1 & mssql compatibility
PHPBB3-15055
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_bbcodes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php
index 18d574081a..e9d96bdecc 100644
--- a/phpBB/includes/acp/acp_bbcodes.php
+++ b/phpBB/includes/acp/acp_bbcodes.php
@@ -253,7 +253,7 @@ class acp_bbcodes
if ($row)
{
- $bbcode_id = $row['max_bbcode_id'] + 1;
+ $bbcode_id = (int) $row['max_bbcode_id'] + 1;
// Make sure it is greater than the core bbcode ids...
if ($bbcode_id <= NUM_CORE_BBCODES)