row added too early to output

This commit is contained in:
2017-06-29 14:43:03 +10:00
parent 22c07cc832
commit bb9942fd3b

View File

@@ -164,9 +164,9 @@ function booking_earlyaccess_csv_report() {
else { else {
$output[] = $field; $output[] = $field;
} }
$row = implode($delimiter, $output) . "\n";
$csv .= $row;
} }
$row = implode($delimiter, $output) . "\n";
$csv .= $row;
} }
//output the CSV to the browser //output the CSV to the browser