From 8f3b34d4c01aebc57e5711062106a1483dd204b9 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 11 Jan 2024 14:04:57 +0700 Subject: [PATCH] Update init_tr.php --- bt/includes/init_tr.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bt/includes/init_tr.php b/bt/includes/init_tr.php index a109f5ac..17b7e6a1 100644 --- a/bt/includes/init_tr.php +++ b/bt/includes/init_tr.php @@ -439,6 +439,10 @@ class sql_db bb_log($msg . LOG_LF, 'sql_slow_tr'); } } + else + { + error_exit("[MySQL] Invalid debug mode: $mode"); + } } /**