Merge branch '5' into 6

This commit is contained in:
github-actions 2024-09-26 22:19:15 +00:00
commit 30e652b761

View File

@ -86,7 +86,7 @@ class DBQueryBuilder
if (Environment::hasEnv('SS_TRACE_DB_QUERY_ORIGIN')) { if (Environment::hasEnv('SS_TRACE_DB_QUERY_ORIGIN')) {
return (bool) Environment::getEnv('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;
} }
/** /**