remove unnecessary quote

This commit is contained in:
Nathan Coad
2018-07-16 20:11:06 +10:00
parent a2542c02e4
commit d6cb41ad64

View File

@@ -835,7 +835,9 @@ function booking_csv_report() {
//handle dates
if ($key == 'booking_dob') {
$output[] = format_date($value, 'custom', 'd/m/Y');
$output[] = '"' . _booking_avg_age($value, 1, $event->booking_event_start) . '"';
// Add in the processed DOB
$output[] = _booking_avg_age($value, 1, $event->booking_event_start);
//$output[] = '"' . _booking_avg_age($value, 1, $event->booking_event_start) . '"';
continue;
}
@@ -914,7 +916,7 @@ function booking_csv_report() {
//$csv .= $row;
}
watchdog('booking_debug', "<pre>CSV report spreadsheet rows\n@info</pre>", array('@info' => print_r( $rows, true)));
//watchdog('booking_debug', "<pre>CSV report spreadsheet rows\n@info</pre>", array('@info' => print_r( $rows, true)));
// Create headers for Excel spreadsheet
header('Content-disposition: attachment; filename="'.XLSXWriter::sanitize_filename($filename).'"');