try a different fix

This commit is contained in:
2017-06-29 14:51:09 +10:00
parent 1f31169ca6
commit c18752c56a

View File

@@ -149,7 +149,10 @@ function booking_earlyaccess_csv_report() {
$result = $codelist_query->execute();
foreach ($result as $record) {
$header_array[] = $record->key;
foreach ($record as $key => $value) {
$header_array[] = $key;
}
break;
}
watchdog('booking_debug', "EarlyAccess CSV query result: @info", array('@info' => var_export( $result, TRUE)));