1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[PHPBB3-14629] round() the log() explicitly to a proper integer

This commit is contained in:
Daniel Mota
2017-09-21 17:24:16 +01:00
parent d095e620c1
commit f79b7f1896
2 changed files with 2 additions and 2 deletions

View File

@@ -552,7 +552,7 @@ class acp_board
if ($config_name == 'allow_quick_reply' && isset($_POST['allow_quick_reply_enable']))
{
enable_bitfield_column_flag(FORUMS_TABLE, 'forum_flags', log(FORUM_FLAG_QUICK_REPLY, 2));
enable_bitfield_column_flag(FORUMS_TABLE, 'forum_flags', round(log(FORUM_FLAG_QUICK_REPLY, 2)));
}
}
}