summaryrefslogtreecommitdiff
path: root/inc/mod/pages.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2021-07-06 19:48:36 +1000
committerGitHub <noreply@github.com>2021-07-06 19:48:36 +1000
commit353ef1ddee8dbb34cd58b12546f7dc62d30a2954 (patch)
treeb0c49a6e87fff0d7dbb806dd9675ba05177f5042 /inc/mod/pages.php
parent99b74207d767bd7ce0d4aa1e93788da27d0698f6 (diff)
parentb1a585666491570f81005869d0ff195da2c2ba44 (diff)
Merge pull request #190 from Dropkick500/patch-1
Add missing isset, fix ban function
Diffstat (limited to 'inc/mod/pages.php')
-rw-r--r--inc/mod/pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 650f854d..fbce7ff7 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -1844,7 +1844,7 @@ function mod_ban_post($board, $delete, $post, $token = false) {
'token' => $security_token
);
- if($_GET['thread']) {
+ if(isset($_GET['thread'])) {
$args['thread'] = $_GET['thread'];
}