diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-03-10 18:43:47 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-03-10 18:43:47 +0100 |
commit | ad8363ae577bc8e11a19b1a50e1e982f82b525be (patch) | |
tree | e8822cbb2cdeef425eac46b727417e0fccffb3da | |
parent | 0e84856a45670a3f27c41e439e880f2cdcf81bbc (diff) | |
parent | b0bedce6621bdf0febdac5e267091fe7ebd88dab (diff) | |
download | forums-ad8363ae577bc8e11a19b1a50e1e982f82b525be.tar forums-ad8363ae577bc8e11a19b1a50e1e982f82b525be.tar.gz forums-ad8363ae577bc8e11a19b1a50e1e982f82b525be.tar.bz2 forums-ad8363ae577bc8e11a19b1a50e1e982f82b525be.tar.xz forums-ad8363ae577bc8e11a19b1a50e1e982f82b525be.zip |
Merge pull request #4213 from RMcGirr83/TICKET_13972
[ticket/13972] Remove hard coded flood check from posting
-rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 6cfb877f75..692f3c8092 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -104,7 +104,7 @@ $vars = array( extract($phpbb_dispatcher->trigger_event('core.modify_posting_parameters', compact($vars))); // Was cancel pressed? If so then redirect to the appropriate page -if ($cancel || ($current_time - $lastclick < 2 && $submit)) +if ($cancel) { $f = ($forum_id) ? 'f=' . $forum_id . '&' : ''; $redirect = ($post_id) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", $f . 'p=' . $post_id) . '#p' . $post_id : (($topic_id) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", $f . 't=' . $topic_id) : (($forum_id) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $forum_id) : append_sid("{$phpbb_root_path}index.$phpEx"))); |