tweak
This commit is contained in:
@@ -963,7 +963,7 @@ function _booking_studygroups_update_preallocate($group, $group_mapping, &$sessi
|
|||||||
_booking_assign_attendee_group($keep_separate_id, $next_session, $gender, $age, $working_list, $session_count, $calculation_messages);
|
_booking_assign_attendee_group($keep_separate_id, $next_session, $gender, $age, $working_list, $session_count, $calculation_messages);
|
||||||
}
|
}
|
||||||
//if there is a spouse or bf/gf then keep them together
|
//if there is a spouse or bf/gf then keep them together
|
||||||
if ($spouse_id > 0) {
|
if ($spouse_id > 0 && $working_list[$spouse_id]->booking_status == 1) {
|
||||||
//if the spouse has already been processed due to being a leader or helper, use that session
|
//if the spouse has already been processed due to being a leader or helper, use that session
|
||||||
if ($working_list[$spouse_id]->processed == 1) {
|
if ($working_list[$spouse_id]->processed == 1) {
|
||||||
$session_id = $working_list[$spouse_id]->session;
|
$session_id = $working_list[$spouse_id]->session;
|
||||||
|
Reference in New Issue
Block a user