Skip to content

Commit

Permalink
Merge branch '5' into 6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 26, 2024
2 parents e46135b + c224a84 commit 30e652b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Connect/DBQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private function shouldBuildTraceComment(): bool
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;
}

/**
Expand Down

0 comments on commit 30e652b

Please sign in to comment.