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 029a4408d1

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