diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-05-10 02:56:48 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-05-10 02:56:48 +0100 |
| commit | 4184fdec6ec3db4d80a0d429f1a3c0dae1ae2675 (patch) | |
| tree | 0c010d50e670b50bbac66b94b6efb5b88a476efd /inc | |
| parent | 9ae357facb86006f3d2087883e087d72b4e58cb9 (diff) | |
Pass the thread ID when banning/deleting
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/mod/pages.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index c21086ed..c8d3e2ad 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -61,7 +61,11 @@ function mod_login($redirect = false) { } function mod_confirm($request) { - mod_page(_('Confirm action'), 'mod/confirm.html', array('request' => $request, 'token' => make_secure_link_token($request))); + $args = array('request' => $request, 'token' => make_secure_link_token($request)); + if(isset($_GET['thread'])) { + $args['rest'] = 'thread=' . $_GET['thread']; + } + mod_page(_('Confirm action'), 'mod/confirm.html', $args); } function mod_logout() { |
