aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r--engine/lib/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index 4745ea2d3..9df5f991c 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -85,7 +85,7 @@
{
global $CONFIG, $DB_PROFILE, $dbcalls;
- if ($CONFIG->debug)
+ if (isset($CONFIG->debug) && $CONFIG->debug)
{
error_log("***************** DB PROFILING ********************");