Skip to content

Commit 22688ee

Browse files
committed
Return to post after reporting
1 parent 5f98a27 commit 22688ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295

296296
$db->query('UPDATE '.$db->prefix.'users SET last_report_sent='.time().' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
297297

298-
redirect('viewforum.php?id='.$forum_id, $lang_misc['Report redirect']);
298+
redirect('viewtopic.php?pid='.$post_id.'#p'.$post_id, $lang_misc['Report redirect']);
299299
}
300300

301301
// Fetch some info about the post, the topic and the forum

0 commit comments

Comments
 (0)