From 822c5af56e3b0f8edeed4e5670e2e099d791b042 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 31 Oct 2023 16:18:36 +0700 Subject: [PATCH] Update ajax.php --- ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax.php b/ajax.php index 6dfd49f0..fc07dc91 100644 --- a/ajax.php +++ b/ajax.php @@ -142,7 +142,7 @@ class ajax_common // Exit if board is disabled via ON/OFF trigger or by admin if ($bb_cfg['board_disable'] || file_exists(BB_DISABLED)) { - if ($action_params[AJAX_ALWAYS_ACTIVE] !== true) + if (!isset($action_params[AJAX_ALWAYS_ACTIVE]) || $action_params[AJAX_ALWAYS_ACTIVE] === false) { if ($bb_cfg['board_disable']) {