mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
Merge branch '3.1.x'
* 3.1.x: [ticket/13851] Fix ignore flood limit check
This commit is contained in:
commit
1e36c6d16c
1 changed files with 2 additions and 1 deletions
|
@ -1030,7 +1030,8 @@ if ($submit || $preview || $refresh)
|
||||||
$message_parser->bbcode_bitfield = $post_data['bbcode_bitfield'];
|
$message_parser->bbcode_bitfield = $post_data['bbcode_bitfield'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($mode != 'edit' && !$preview && !$refresh && $config['flood_interval'] && !$auth->acl_get('f_ignoreflood', $forum_id))
|
$ignore_flood = $auth->acl_get('u_ignoreflood') ? true : $auth->acl_get('f_ignoreflood', $forum_id);
|
||||||
|
if ($mode != 'edit' && !$preview && !$refresh && $config['flood_interval'] && !$ignore_flood)
|
||||||
{
|
{
|
||||||
// Flood check
|
// Flood check
|
||||||
$last_post_time = 0;
|
$last_post_time = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue