making progress

This commit is contained in:
2017-06-29 15:04:24 +10:00
parent 2b01006b0a
commit 1111b91b73

View File

@@ -148,9 +148,8 @@ function booking_earlyaccess_csv_report() {
->orderBy('cid');
$result = $codelist_query->execute();
$firstresult = $result;
watchdog('booking', "CSV firstresult: @info", array('@info' => var_export($firstresult, TRUE)));
foreach ($firstresult as $record) {
foreach ($result as $record) {
watchdog('booking', "CSV first record for header: @info", array('@info' => var_export($record, TRUE)));
foreach ($record as $key => $value) {
$header_array[] = $key;