diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2024-03-26 16:07:00 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2024-03-31 17:33:19 +0100 |
| commit | 449b311ecf65f677a2595e1e29f712d11ef22f34 (patch) | |
| tree | c93826f990619ca24f15401bf2aecdab215cd39e /app/Http/RequestHandlers/SiteLogsDownload.php | |
| parent | 8f952ecb9fc1e1a5902134d10beb95abd3365518 (diff) | |
| download | webtrees-449b311ecf65f677a2595e1e29f712d11ef22f34.tar.gz webtrees-449b311ecf65f677a2595e1e29f712d11ef22f34.tar.bz2 webtrees-449b311ecf65f677a2595e1e29f712d11ef22f34.zip | |
CodeStyle
Diffstat (limited to 'app/Http/RequestHandlers/SiteLogsDownload.php')
| -rw-r--r-- | app/Http/RequestHandlers/SiteLogsDownload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/RequestHandlers/SiteLogsDownload.php b/app/Http/RequestHandlers/SiteLogsDownload.php index ccd0c172b9..0a6fd3364c 100644 --- a/app/Http/RequestHandlers/SiteLogsDownload.php +++ b/app/Http/RequestHandlers/SiteLogsDownload.php @@ -53,7 +53,7 @@ class SiteLogsDownload implements RequestHandlerInterface $content = $this->site_logs_service->logsQuery($request) ->orderBy('log_id') ->get() - ->map(static fn(object $row): string => '"' . $row->log_time . '",' . + ->map(static fn (object $row): string => '"' . $row->log_time . '",' . '"' . $row->log_type . '",' . '"' . str_replace('"', '""', $row->log_message) . '",' . '"' . $row->ip_address . '",' . |
