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:
towards-a-new-leftypol 2021-01-03 22:31:44 -05:00 committed by GitHub
commit ad370baf9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3159 additions and 3159 deletions

View File

@ -1846,7 +1846,7 @@ function mod_ban_post($board, $delete, $post, $token = false) {
'token' => $security_token
);
if($_GET['thread']) {
if(isset($_GET['thread']) && $_GET['thread']) {
$args['thread'] = $_GET['thread'];
}