From 58d8ffe10e1f8b0e7a0d29ed43602b7809e3909e Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 30 Jun 2024 23:59:44 +0700 Subject: [PATCH] Update ajax.php --- ajax.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ajax.php b/ajax.php index 64e20b3b..b696e91f 100644 --- a/ajax.php +++ b/ajax.php @@ -148,10 +148,10 @@ class ajax_common { $this->ajax_die($lang['BOARD_DISABLE']); } - elseif (file_exists(BB_DISABLED)) - { - $this->ajax_die($lang['BOARD_DISABLE_CRON']); - } + } + if (file_exists(BB_DISABLED)) + { + $this->ajax_die($lang['BOARD_DISABLE_CRON']); } }