mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '5' into 6
This commit is contained in:
commit
30e652b761
@ -86,7 +86,7 @@ class DBQueryBuilder
|
||||
if (Environment::hasEnv('SS_TRACE_DB_QUERY_ORIGIN')) {
|
||||
return (bool) Environment::getEnv('SS_TRACE_DB_QUERY_ORIGIN');
|
||||
}
|
||||
return static::config()->get('trace_query_origin');
|
||||
return static::config()->get('trace_query_origin') ?? false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user