1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15055] Further fixes to ensure PHP 7.1 & mssql compatibility

PHPBB3-15055
This commit is contained in:
Marc Alexander
2017-01-29 11:05:45 +01:00
parent 4a2e203a80
commit 66143e99be
4 changed files with 8 additions and 6 deletions

View File

@@ -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)