From 731abb923e67702f8fc61e4a5b7575863d4433e8 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 9 Mar 2024 11:28:57 +0700 Subject: [PATCH] Update mysql.php --- library/includes/core/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/core/mysql.php b/library/includes/core/mysql.php index 2e9fdf69..4369695e 100644 --- a/library/includes/core/mysql.php +++ b/library/includes/core/mysql.php @@ -778,7 +778,7 @@ class sql_db $this->sql_timetotal += $this->cur_query_time; $this->DBS['sql_timetotal'] += $this->cur_query_time; - if (SQL_LOG_SLOW_QUERIES && $this->cur_query_time > $this->slow_time) + if (SQL_LOG_SLOW_QUERIES && ($this->cur_query_time > $this->slow_time)) { $this->log_slow_query(); }