row added too early to output
This commit is contained in:
@@ -164,10 +164,10 @@ function booking_earlyaccess_csv_report() {
|
||||
else {
|
||||
$output[] = $field;
|
||||
}
|
||||
}
|
||||
$row = implode($delimiter, $output) . "\n";
|
||||
$csv .= $row;
|
||||
}
|
||||
}
|
||||
|
||||
//output the CSV to the browser
|
||||
drupal_add_http_header("Content-type", "application/octet-stream; charset=utf-8");
|
||||
|
Reference in New Issue
Block a user