fix query
This commit is contained in:
@@ -388,8 +388,7 @@ function booking_varietysessions_csv_report($timeslot_id) {
|
||||
|
||||
//retrieve the sessions for the specified timeslot
|
||||
$variety_sessions = db_query("SELECT * FROM {booking_variety_sessions} WHERE booking_eventid = :eid and booking_variety_timeslot_id = :tid",
|
||||
array(':eid' => $event->eid, ':tid' => $timeslot_id))
|
||||
->fetchObject();
|
||||
array(':eid' => $event->eid, ':tid' => $timeslot_id));
|
||||
|
||||
if (! $variety_sessions) {
|
||||
drupal_set_message("Error: Could not find matching variety session timeslot. Unable to view session membership.", 'error', FALSE);
|
||||
|
Reference in New Issue
Block a user