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