commit properly this time
This commit is contained in:
@@ -85,6 +85,14 @@ function booking_event_admin_submit($form, &$form_state) {
|
||||
->condition('eid', $selected_event, '!=')
|
||||
->execute();
|
||||
|
||||
// Disable other variety session timeslots
|
||||
db_update('booking_variety_timeslots')
|
||||
->fields(array (
|
||||
'booking_variety_status' => 0,
|
||||
))
|
||||
->condition('booking_eventid', $selected_event, '!=')
|
||||
->execute();
|
||||
|
||||
//then set our target event id to be active
|
||||
db_update('booking_event')
|
||||
->fields(array (
|
||||
|
Reference in New Issue
Block a user