aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 205f40ecc5..27e465974c 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -282,7 +282,8 @@ if ($mode == 'delete')
// Handle bump mode...
if ($mode == 'bump')
{
- if ($bump_time = bump_topic_allowed($forum_id, $post_data['topic_bumped'], $post_data['topic_last_post_time'], $post_data['topic_poster'], $post_data['topic_last_poster_id']))
+ if ($bump_time = bump_topic_allowed($forum_id, $post_data['topic_bumped'], $post_data['topic_last_post_time'], $post_data['topic_poster'], $post_data['topic_last_poster_id'])
+ && check_link_hash(request_var('hash', ''),"topic_{$post_data['topic_id']}"))
{
$db->sql_transaction('begin');