forked from leftypol/leftypol
Pass the thread ID when banning/deleting
This commit is contained in:
parent
9ae357facb
commit
4184fdec6e
4 changed files with 17 additions and 7 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue