From ffbeaee720085866dc91b122352ff4ee3decc309 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 31 Oct 2023 16:02:40 +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..870cffaf 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']) {