change query again
This commit is contained in:
@@ -393,17 +393,18 @@ function booking_varietysessions_csv_report($timeslot_id) {
|
||||
|
||||
$variety_sessions = db_select('booking_variety_sessions', 'v')
|
||||
->condition($db_and)
|
||||
->fields('v');
|
||||
$variety_sessions_result = $variety_sessions->execute();
|
||||
->fields('v')
|
||||
->execute()
|
||||
->fetchAssoc();
|
||||
|
||||
watchdog('booking_debug', 'booking_varietysessions_csv_report variety sessions: <pre>@info</pre>', array('@info' => print_r( $variety_sessions_result, true)));
|
||||
|
||||
/*
|
||||
if ($variety_sessions_result->rowCount() == 0) {
|
||||
drupal_set_message("Error: Could not find matching variety session timeslot. Unable to view session membership.", 'error', FALSE);
|
||||
drupal_goto('admin/config/booking/variety');
|
||||
return "";
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
//set options for the CSV file
|
||||
$name = 'bookings-variety-sessions-' . format_date(time(), 'custom', 'Y-m-d-His');
|
||||
|
Reference in New Issue
Block a user