3 Commits

Author SHA1 Message Date
Gitea Actions
212d43d145 Update manifest version to 7.0.1 [▶️] 2025-12-17 18:21:40 +00:00
3045c2df3d Merge branch 'main' of https://git.icc.gg/ivancarlos/bundledcmdb
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 24m18s
2025-12-17 15:21:10 -03:00
6d5524a215 fix export excel 2025-12-17 15:20:51 -03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
{ {
"version": "7.0.0", "version": "7.0.1",
"author": "Ivan Carlos" "author": "Ivan Carlos"
} }

View File

@@ -140,7 +140,7 @@ $output = fopen('php://output', 'w');
fwrite($output, "\xEF\xBB\xBF"); fwrite($output, "\xEF\xBB\xBF");
// Write CSV header row // Write CSV header row
fputcsv($output, $columns_to_export); fputcsv($output, $columns_to_export, ",", "\"", "\\");
// Write all rows // Write all rows
foreach ($allRows as $row) { foreach ($allRows as $row) {
@@ -152,7 +152,7 @@ foreach ($allRows as $row) {
} }
$exportRow[] = $val; $exportRow[] = $val;
} }
fputcsv($output, $exportRow); fputcsv($output, $exportRow, ",", "\"", "\\");
} }
fclose($output); fclose($output);