Fix ban
This commit is contained in:
parent
798c839681
commit
c3ec56836c
|
@ -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…
Reference in New Issue