Browse Source

Merge pull request #92 from towards-a-new-leftypol/fixes

Potential fix for an error message that mods get when banning
pull/40/head
towards-a-new-leftypol 3 years ago
committed by GitHub
parent
commit
ad370baf9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      inc/mod/pages.php

2
inc/mod/pages.php

@ -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'];
}

Loading…
Cancel
Save