diff --git a/booking.studygroup_leaders.inc b/booking.studygroup_leaders.inc index 5f7a3ec..63867af 100644 --- a/booking.studygroup_leaders.inc +++ b/booking.studygroup_leaders.inc @@ -364,13 +364,14 @@ function booking_studygroup_leadhelp_edit_form_submit($form, &$form_state) { $group_id = $form_state['values']['booking_gid']; $update_messages = array(); $counter = 0; - watchdog('booking_debug', "
Studygroup leader/helper test submission form :\n@info
", array('@info' => print_r( $form_state, true))); + //watchdog('booking_debug', "
Studygroup leader/helper test submission form :\n@info
", array('@info' => print_r( $form_state, true))); $role_types = array( 'booking_studygroup_leader' => 1, 'booking_studygroup_helper' => 2, 'booking_studygroup_reserveleader' => 3, ); + //iterate over the different role types foreach ($role_types as $type => $type_id) { //iterate over the sessions for that role type