Compare commits

...

2 Commits

Author SHA1 Message Date
Guy Sartorelli
c224a84b3a
Merge pull request #11241 from Ofthemasses/patch-1
FIX Return null error solved for DBQueryBuilder::shouldBuildTraceComment
2024-09-26 10:40:39 +12:00
Finlay Metcalfe
8b4865ed2c
FIX Return null error solved for DBQueryBuilder::shouldBuildTraceComment 2024-05-16 14:04:13 +12:00

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