dont use object of type stdClass as array
This commit is contained in:
@@ -443,7 +443,7 @@ function booking_varietysessions_csv_report($timeslot_id) {
|
|||||||
foreach ($header_array as $column) {
|
foreach ($header_array as $column) {
|
||||||
$maximums[] = count($data[$column]);
|
$maximums[] = count($data[$column]);
|
||||||
//make the column headings a bit more user friendly
|
//make the column headings a bit more user friendly
|
||||||
$column_headings[] = $variety_sessions[$column]->booking_variety_descrip;
|
$column_headings[] = $variety_sessions[$column]['booking_variety_descrip'];
|
||||||
}
|
}
|
||||||
|
|
||||||
//add the column headings to the CSV
|
//add the column headings to the CSV
|
||||||
|
Reference in New Issue
Block a user