From c3ec56836cee70254dca544d40d64e280344154d Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Thu, 31 Dec 2020 05:41:22 -0500 Subject: [PATCH] Fix ban --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index cc101bca..e8b43a62 100644 --- a/inc/mod/pages.php +++ b/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']; }