Merge 8b4865ed2c533d068b0f5b57395d007927e75cfe into a81b7855de814be8c3e4fb1c9341e2c507f34b6b

This commit is contained in:
Finlay Metcalfe 2024-09-25 00:32:35 +12:00 committed by GitHub
commit fedf2310d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
/**