missing header
This commit is contained in:
@@ -149,7 +149,7 @@ function booking_earlyaccess_csv_report() {
|
|||||||
$result = $codelist_query->execute();
|
$result = $codelist_query->execute();
|
||||||
|
|
||||||
//calculate the header row for CSV
|
//calculate the header row for CSV
|
||||||
$header = implode( $delimiter, array_keys($data));
|
$header = implode( $delimiter, array_keys($result));
|
||||||
$csv .= $header . "\n";
|
$csv .= $header . "\n";
|
||||||
|
|
||||||
//add the records
|
//add the records
|
||||||
|
Reference in New Issue
Block a user