Remove email and comment from enty table they will go to costum values

This commit is contained in:
2026-05-09 00:54:23 +02:00
parent 8b54aff9ac
commit bd7b9e1731
5 changed files with 1 additions and 20 deletions

View File

@@ -15,7 +15,7 @@ header('Content-Type: text/csv; charset=utf-8');
header('Content-Disposition: attachment; filename="go-form-' . sanitize_title($form_name) . '-export.csv"');
$output = fopen('php://output', 'w');
fputcsv($output, ['ID', 'First Name', 'Last Name', 'Country', 'Club', 'Rank', 'Rating', 'Email', 'EGD Number', 'Comment', 'Date Added']);
fputcsv($output, ['ID', 'First Name', 'Last Name', 'Country', 'Club', 'Rank', 'Rating', 'EGD Number', 'Date Added']);
foreach ($entries as $e) {
global $ranks;
@@ -27,9 +27,7 @@ foreach ($entries as $e) {
$e->club,
$ranks[$e->rank] ?? '',
$e->rating,
$e->email,
$e->egd_number,
$e->comment,
$e->created_at
]);
}