forked from leftypol/leftypol
Merge pull request #92 from towards-a-new-leftypol/fixes
Potential fix for an error message that mods get when banning
This commit is contained in:
commit
029a4408d1
1 changed files with 3159 additions and 3159 deletions
|
@ -1846,7 +1846,7 @@ function mod_ban_post($board, $delete, $post, $token = false) {
|
||||||
'token' => $security_token
|
'token' => $security_token
|
||||||
);
|
);
|
||||||
|
|
||||||
if($_GET['thread']) {
|
if(isset($_GET['thread']) && $_GET['thread']) {
|
||||||
$args['thread'] = $_GET['thread'];
|
$args['thread'] = $_GET['thread'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue